diff options
author | Andy Kluger | 2019-10-21 17:18:28 -0400 |
---|---|---|
committer | Andy Kluger | 2019-10-21 17:18:28 -0400 |
commit | a1e6cc70a553f613184a2278d3b44304ae99e2da (patch) | |
tree | 3d5f8327e9dda2c930f951ac8259cda2dfba22ba /PKGBUILD | |
download | aur-a1e6cc70a553f613184a2278d3b44304ae99e2da.tar.gz |
simple modification of upstream release-based pkgbuild to build from git
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..131b0b7985e8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Andy Kluger <https://t.me/andykluger> +# Contributor: jurplel <jeep70cp[at]gmail[dotcom]> +_pkgname=qview +pkgname=qview-git +pkgver=r434.4d15b97 +pkgrel=1 +epoch= +pkgdesc="qView is a Qt image viewer designed with minimalism and usability in mind." +arch=('i686' 'x86_64') +url="https://interversehq.com/qview/" +license=('GPL3') +groups=() +depends=('qt5-base>=5.9' 'hicolor-icon-theme') +optdepends=('xdg-utils: Used to open containing folder of file' 'qt5-imageformats: Extra image format support' 'qt5-svg: SVG support') +makedepends=('git' 'qt5-base') +checkdepends=() +provides=('qview') +conflicts=('qview') +replaces=() +backup=() +options=() +install= +changelog= +source=("git+https://github.com/jurplel/qView") +noextract=() +sha256sums=('SKIP') +validpgpkeys=() + +pkgver() { + cd qView + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd qView + qmake + make +} + +package() { + cd qView + make INSTALL_ROOT="$pkgdir/" install +} |