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

                                                  
            



























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