summaryrefslogblamecommitdiff
path: root/user/xxhash/APKBUILD
blob: ff9328e9f205b7dd91fa22159bc57b0515a8b498 (plain) (tree)
1
2
3
4


                                                  
            




























                                                                                          
                                                                                                                                                                  
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xxhash
pkgver=0.7.4
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="9dbf8424b355d6551c18cff7ed7dbd26d4e5735b9a07fe54911b7438d6ffed3a3c2429ac09b616de630ea16cf32ff73529b6c3fad4af78ae0cb2b06155086aea  xxHash-0.7.4.tar.gz"