summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD30
-rw-r--r--mozregression-gui.desktop13
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..64408a6d4cf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = mozregression-gui-bin
+ pkgdesc = Regression range finder for Firefox
+ pkgver = 4.0.6
+ pkgrel = 1
+ url = https://github.com/mozilla/mozregression
+ arch = any
+ license = MPL
+ depends = gtk3
+ depends = ncurses5-compat-libs
+ depends = qt5-wayland
+ depends = qt5-multimedia
+ depends = libbsd
+ depends = libyaml
+ depends = qt5-webengine
+ depends = qt5-quickcontrols2
+ depends = qt5-sensors
+ depends = qt5-virtualkeyboard
+ provides = mozregression-gui=4.0.6
+ options = !strip
+ source = https://github.com/mozilla/mozregression/releases/download/4.0.6/mozregression-gui.tar.gz
+ source = mozregression-gui.desktop
+ source = https://raw.githubusercontent.com/mozilla/mozregression/master/gui/icons/app_icon.png
+ sha256sums = 48066dcc1096cf0376b5edc878485a31ab82db6790b9d51a147e30d1947ca36a
+ sha256sums = 0b51e2692ef75addd98365185ff05524426ca1735f43d6b1cafa0e71d71481cb
+ sha256sums = eec9a7ab76d757b7f03ceea4a65623337a6625989f4aa801d07f71aa37175e23
+
+pkgname = mozregression-gui-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e371bd15217
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: hawkeye116477 <hawkeye116477 at gmail dot com>
+
+pkgname=mozregression-gui-bin
+_pkgname=mozregression-gui
+pkgver=4.0.6
+pkgrel=1
+pkgdesc='Regression range finder for Firefox'
+arch=('any')
+license=(MPL)
+url="https://github.com/mozilla/mozregression"
+options=('!strip')
+depends=("gtk3" "ncurses5-compat-libs" "qt5-wayland" "qt5-multimedia" "libbsd" "libyaml" "qt5-webengine" "qt5-quickcontrols2" "qt5-sensors" "qt5-virtualkeyboard")
+provides=("${_pkgname}=${pkgver}")
+source=("https://github.com/mozilla/mozregression/releases/download/$pkgver/${_pkgname}.tar.gz"
+ "${_pkgname}.desktop"
+ "https://raw.githubusercontent.com/mozilla/mozregression/master/gui/icons/app_icon.png")
+sha256sums=('48066dcc1096cf0376b5edc878485a31ab82db6790b9d51a147e30d1947ca36a'
+ '0b51e2692ef75addd98365185ff05524426ca1735f43d6b1cafa0e71d71481cb'
+ 'eec9a7ab76d757b7f03ceea4a65623337a6625989f4aa801d07f71aa37175e23')
+
+package() {
+ install -d "${pkgdir}"/{usr/{bin,share/{applications,pixmaps}},opt/${_pkgname}}
+
+ cp -r ./${_pkgname}/* "${pkgdir}"/opt/${_pkgname}/
+ ln -s "/opt/${_pkgname}/${_pkgname}" \
+ "$pkgdir/usr/bin/${_pkgname}"
+ install -m644 "${srcdir}"/${_pkgname}.desktop "${pkgdir}"/usr/share/applications/
+ install -m644 "${srcdir}"/app_icon.png "${pkgdir}"/usr/share/pixmaps/${_pkgname}.png
+}
+# vim:set ts=2 sw=2 et:
diff --git a/mozregression-gui.desktop b/mozregression-gui.desktop
new file mode 100644
index 00000000000..00c75c61cde
--- /dev/null
+++ b/mozregression-gui.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Version=1.0
+Name=mozregression-gui
+Comment=Regression range finder for Firefox
+GenericName=Regression range finder for Firefox
+Keywords=Internet;Regression;Firefox;
+Exec=mozregression-gui %u
+Terminal=false
+X-MuiltpleArgs=false
+Type=Application
+Icon=mozregression-gui
+Categories=Network;Utility;
+StartupNotify=true