summaryrefslogtreecommitdiff
path: root/core/xxhash/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'core/xxhash/MAKEPKG')
-rw-r--r--core/xxhash/MAKEPKG38
1 files changed, 38 insertions, 0 deletions
diff --git a/core/xxhash/MAKEPKG b/core/xxhash/MAKEPKG
new file mode 100644
index 0000000..d4b46aa
--- /dev/null
+++ b/core/xxhash/MAKEPKG
@@ -0,0 +1,38 @@
+#!/bin/mkpkg
+# description: Extremely fast non-cryptographic hash algorithm
+# url: https://xxhash.com
+
+name=xxhash
+version=0.8.4
+release=1
+
+source=(https://github.com/Cyan4973/xxHash/archive/v$version/$name-$version.tar.gz)
+
+depends=()
+makedeps=()
+
+sha256sums=(
+ "5738270935e7c3d38a79b3adf7c9692566ce7895a25f67de43ad52ab504acd32"
+)
+
+build() {
+ cd xxHash-$version
+
+ make \
+ PREFIX=/ \
+ MANDIR=/usr/share/man/man1
+
+ make install \
+ DESTDIR=$PKG \
+ PREFIX=/ \
+ MANDIR=/usr/share/man/man1
+
+ rm -f $PKG/lib/*.a
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh