diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e371bd152178 --- /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: |