diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 42 |
1 files changed, 25 insertions, 17 deletions
@@ -1,34 +1,42 @@ -# Maintainer: carstene1ns - https://git.io/ctPKG +# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix +# Contributor: carstene1ns - https://git.io/ctPKG pkgname=gtkhash-git -pkgver=v1.4.r64.g3afea16 +pkgver=1.5.r35.ge85ab4d pkgrel=1 -pkgdesc='A cross-platform desktop utility for computing message digests or checksums (development version).' -arch=('i686' 'x86_64') -url='https://github.com/tristanheaven/gtkhash' -license=('GPL2') -makedepends=('git') -depends=('dconf' 'nettle' 'libb2' 'gtk3') -conflicts=('gtkhash') -provides=('gtkhash') -source=(gtkhash::"git+https://github.com/tristanheaven/gtkhash.git") -md5sums=('SKIP') +pkgdesc="A cross-platform desktop utility for computing message digests or checksums" +arch=(x86_64 i686) +url="https://github.com/gtkhash/gtkhash" +license=(GPL2) +depends=(dconf nettle libb2 gtk3) +makedepends=(git) +conflicts=(gtkhash) +provides=(gtkhash) +source=("git+https://github.com/gtkhash/gtkhash.git") +sha256sums=('SKIP') pkgver() { cd gtkhash + git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} - git describe --long --tags | sed 's/-/.r/;s/-/./' +prepare() { + cd gtkhash + ./autogen.sh } build() { cd gtkhash + ./configure \ + --prefix=/usr \ + --disable-schemas-compile \ + --enable-gtkhash \ + --enable-linux-crypto \ + --enable-nettle - ./autogen.sh - ./configure --prefix=/usr --disable-schemas-compile --enable-gtkhash \ - --enable-linux-crypto --enable-nettle make } package() { - make -C gtkhash DESTDIR="$pkgdir/" install + make -C gtkhash DESTDIR="${pkgdir}" install } |