[arch-commits] Commit in xxhash/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Wed Oct 9 06:14:55 UTC 2019
Date: Wednesday, October 9, 2019 @ 06:14:54
Author: alucryd
Revision: 514324
upgpkg: xxhash 0.7.2-1
Modified:
xxhash/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-09 02:39:42 UTC (rev 514323)
+++ PKGBUILD 2019-10-09 06:14:54 UTC (rev 514324)
@@ -3,7 +3,7 @@
# Contributor: Konstantin Gizdov <arch at kge.com>
pkgname=xxhash
-pkgver=0.7.1
+pkgver=0.7.2
pkgrel=1
pkgdesc='Extremely fast non-cryptographic hash algorithm'
arch=(x86_64)
@@ -14,16 +14,22 @@
)
makedepends=(git)
provides=(libxxhash.so)
-source=(git+https://github.com/Cyan4973/xxHash.git#tag=v${pkgver})
-sha256sums=('SKIP')
+source=(git+https://github.com/Cyan4973/xxHash.git#tag=e2f4695899e831171ecd2e780078474712ea61d3)
+sha256sums=(SKIP)
+pkgver() {
+ cd xxHash
+
+ git describe --tags | sed 's/^v//'
+}
+
build() {
- make PREFIX='/usr' -C xxHash
+ make PREFIX=/usr -C xxHash
}
package() {
- make PREFIX='/usr' DESTDIR="${pkgdir}" -C xxHash install
+ make PREFIX=/usr DESTDIR="${pkgdir}" -C xxHash install
install -Dm 644 xxHash/LICENSE -t "${pkgdir}"/usr/share/licenses/xxhash
}
-# vim:set ts=4 sw=4 et:
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list