diff options
author | Guillaume Horel | 2020-09-17 15:02:19 -0400 |
---|---|---|
committer | Guillaume Horel | 2020-09-17 15:02:19 -0400 |
commit | 6617b4ba5e602989622a98b5f304db71a5efc903 (patch) | |
tree | 0d0bcefa5e9a25d4263572b1254999a1adb2851b | |
parent | ead8f5506997fecfdcf3a68fd93ba25f6ed35990 (diff) | |
download | aur-6617b4ba5e602989622a98b5f304db71a5efc903.tar.gz |
cleanups
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 6 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = highwayhash pkgdesc = Fast strong hash functions: SipHash/HighwayHash - pkgver = 20190504.ea7e1f0 + pkgver = 20200914.ead8f55 pkgrel = 1 url = https://github.com/google/highwayhash arch = x86_64 @@ -1,6 +1,6 @@ # Maintainer: Guillaume Horel <guillaume.horel@gmail.com> -pkgname=('highwayhash') -pkgver=20190504.ea7e1f0 +pkgname='highwayhash' +pkgver=20200914.ead8f55 pkgrel=1 pkgdesc="Fast strong hash functions: SipHash/HighwayHash" url="https://github.com/google/highwayhash" @@ -13,16 +13,17 @@ source=("git+https://github.com/google/highwayhash.git") sha256sums=('SKIP') pkgver() { + cd "${pkgname}" git log -1 --format=%cd.%h --date=short|tr -d - } build() { - cd "${srcdir}/${pkgname}" + cd "${pkgname}" make } package() { - cd "${srcdir}/${pkgname}" + cd "${pkgname}" make PREFIX=/usr DESTDIR="${pkgdir}" install install -d "$pkgdir/usr/share/man/man3" gzip -c highwayhash.3 > "$pkgdir/usr/share/man/man3/highwayhash.3.gz" |