43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=xxhash
|
|
pkgver=0.8.2
|
|
pkgrel=01
|
|
pkgdesc='Extremely fast non-cryptographic hash algorithm'
|
|
url=https://cyan4973.github.io/xxHash/
|
|
depends=(glibc)
|
|
makedepends=(git)
|
|
provides=(libxxhash.so)
|
|
_tag=bbb27a5efb85b92a0486cf361a8635715a53f6ba
|
|
source=(git+https://github.com/Cyan4973/xxHash.git#tag=${_tag})
|
|
|
|
pkgver() {
|
|
cd xxHash
|
|
git describe --tags | sed 's/^v//'
|
|
}
|
|
|
|
build() {
|
|
make PREFIX=/usr DISPATCH=1 -C xxHash
|
|
}
|
|
|
|
package() {
|
|
make PREFIX=/usr DISPATCH=1 DESTDIR="${pkgdir}" -C xxHash install
|
|
install -Dm 644 xxHash/LICENSE -t "${pkgdir}"/usr/share/licenses/xxhash
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(GPL2 BSD)
|
|
|
|
sha256sums=(SKIP)
|
|
|
|
## 27f1073dd44354d2f20ac5630e7315d62d7a384f4fc63b178ca2c8774fc8300f xxhash-0.8.2-01-x86_64.pkg.tar.lz
|
|
|