Skip to content
Snippets Groups Projects
Commit 8001f687 authored by Maxime Gauduin's avatar Maxime Gauduin
Browse files

upgpkg: 0.8.1-1

parent 77862e75
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
# Contributor: Konstantin Gizdov <arch@kge.com>
pkgname=xxhash
pkgver=0.8.0
pkgver=0.8.1
pkgrel=1
pkgdesc='Extremely fast non-cryptographic hash algorithm'
arch=(x86_64)
......@@ -12,15 +12,26 @@ license=(
GPL2
BSD
)
depends=(glibc)
makedepends=(git)
provides=(libxxhash.so)
_tag=94e5f23e736f2bb67ebdf90727353e65344f9fc0
source=(git+https://github.com/Cyan4973/xxHash.git#tag=${_tag})
sha256sums=(SKIP)
_tag=35b0373c697b5f160d3db26b1cbb45a0d5ba788c
source=(
git+https://github.com/Cyan4973/xxHash.git#tag=${_tag}
xxhash-man-symlinks.patch
)
b2sums=(
SKIP
83236ec7363f98842a5c8deb52e0a200321a722748a69b472b42b65eb85fa06ac5490926ea7612c0c455bf4998e109567706cf0f03e2c52c1e497abf258e5219
)
pkgver() {
prepare() {
cd xxHash
patch -Np1 -i ../xxhash-man-symlinks.patch
}
pkgver() {
cd xxHash
git describe --tags | sed 's/^v//'
}
......
diff '--color=auto' -rupN xxHash.orig/Makefile xxHash/Makefile
--- xxHash.orig/Makefile 2021-12-06 11:36:16.742156574 +0100
+++ xxHash/Makefile 2021-12-06 11:37:31.712450289 +0100
@@ -518,9 +518,9 @@ endif
$(Q)ln -sf xxhsum $(DESTDIR)$(BINDIR)/xxh128sum
@echo Installing man pages
$(Q)$(INSTALL_DATA) $(MAN) $(DESTDIR)$(MANDIR)/xxhsum.1
- $(Q)ln -sf $(MAN) $(DESTDIR)$(MANDIR)/xxh32sum.1
- $(Q)ln -sf $(MAN) $(DESTDIR)$(MANDIR)/xxh64sum.1
- $(Q)ln -sf $(MAN) $(DESTDIR)$(MANDIR)/xxh128sum.1
+ $(Q)ln -sf xxhsum.1.gz $(DESTDIR)$(MANDIR)/xxh32sum.1.gz
+ $(Q)ln -sf xxhsum.1.gz $(DESTDIR)$(MANDIR)/xxh64sum.1.gz
+ $(Q)ln -sf xxhsum.1.gz $(DESTDIR)$(MANDIR)/xxh128sum.1.gz
@echo xxhash installation completed
.PHONY: uninstall
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment