26 lines
578 B
Plaintext
26 lines
578 B
Plaintext
pkgname=xxhash
|
|
pkgver=0.8.3
|
|
pkgdesc='Extremely fast non-cryptographic hash algorithm'
|
|
arch=(x86_64)
|
|
homepage=https://cyan4973.github.io/xxHash/
|
|
license=(
|
|
GPL2
|
|
BSD
|
|
)
|
|
sources=("${pkgname}-${pkgver}.tar.gz")
|
|
urls=("https://github.com/Cyan4973/xxHash/archive/refs/tags/v${pkgver}.tar.gz")
|
|
md5sums=("599804eb9555e51c05f1b821f9212a07")
|
|
|
|
src_prepare() {
|
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
|
}
|
|
|
|
src_build() {
|
|
make PREFIX=/usr
|
|
}
|
|
|
|
src_install() {
|
|
make PREFIX=/usr DESTDIR="${pkgdir}" install
|
|
install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/xxhash
|
|
}
|