new bblfs: dev-libs/xxhash-0.8.3

This commit is contained in:
2025-12-25 15:00:02 -05:00
parent 27502f9202
commit 9a34db0c05

View File

@@ -0,0 +1,25 @@
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
}