summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel2020-09-17 15:02:19 -0400
committerGuillaume Horel2020-09-17 15:02:19 -0400
commit6617b4ba5e602989622a98b5f304db71a5efc903 (patch)
tree0d0bcefa5e9a25d4263572b1254999a1adb2851b
parentead8f5506997fecfdcf3a68fd93ba25f6ed35990 (diff)
downloadaur-6617b4ba5e602989622a98b5f304db71a5efc903.tar.gz
cleanups
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f35113b21989..11e66e050004 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index aeefc13f16eb..30f4c24aa4e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"