diff options
author | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
---|---|---|
committer | CyberLeo <cyberleo@cyberleo.net> | 2020-03-28 05:45:52 -0500 |
commit | 9297468fa579836e3a6a381b798feb6b78217c2d (patch) | |
tree | 53168212f427afbcf0693b534530a4af803152e9 /user/xxhash/APKBUILD | |
parent | a63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff) | |
parent | da5a69b65a8791fffa6e93366ee585f87eff136d (diff) | |
download | packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2 packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip |
Merge branch 'master' into zfs
Diffstat (limited to 'user/xxhash/APKBUILD')
-rw-r--r-- | user/xxhash/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/xxhash/APKBUILD b/user/xxhash/APKBUILD new file mode 100644 index 000000000..91c74b4bf --- /dev/null +++ b/user/xxhash/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=xxhash +pkgver=0.7.2 +pkgrel=0 +pkgdesc="Fast non-cryptographic hashing algorithm" +url="https://cyan4973.github.io/xxHash/" +arch="all" +license="BSD-2-Clause" +depends="" +makedepends="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" +source="xxHash-$pkgver.tar.gz::https://github.com/Cyan4973/xxHash/archive/v$pkgver.tar.gz" +builddir="$srcdir"/xxHash-$pkgver + +build() { + make prefix=/usr +} + +check() { + make prefix=/usr check +} + +package() { + make prefix=/usr DESTDIR="$pkgdir" install +} + +tools() { + license="GPL-2.0+" + mkdir -p "$subpkgdir"/usr + mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ +} + +sha512sums="90d4e7422729441e5013928b306fd6f394ab6f97628ec88369fbb33891c9a2cfae495516d8dd0741eda9c38859132b1bd78f2c7b8dae1dce80eeca8ea5cba575 xxHash-0.7.2.tar.gz" |