pkgname=xxhash pkgver=0.8.3 pkgrel=1 pkgdesc='Extremely fast non-cryptographic hash algorithm' arch=(x86_64) url=https://cyan4973.github.io/xxHash/ license=('BSD-2-Clause' 'GPL-2.0-or-later') depends=('glibc') source=(https://github.com/Cyan4973/xxHash/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=(aae608dfe8213dfd05d909a57718ef82f30722c392344583d3f39050c7f29a80) build() { cd xxHash-${pkgver} make CC=${CHOST}-gcc PREFIX=/usr LIBDIR=/usr/lib64 DISPATCH=1 } package() { cd xxHash-${pkgver} make DESTDIR=${pkgdir} PREFIX=/usr LIBDIR=/usr/lib64 DISPATCH=1 install }