29 lines
625 B
Text
29 lines
625 B
Text
# Maintainer: Imbus <imbus64@protonmail.com>
|
|
pkgname=libhash
|
|
pkgver=0.1.2
|
|
pkgrel=0
|
|
pkgdesc="Various hash functions in C"
|
|
url="https://git.silversoft.se/Imbus/libhash"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="gcc make"
|
|
checkdepends=""
|
|
subpackages="$pkgname-static $pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname"
|
|
|
|
build() {
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
PREFIX="$pkgdir/usr" make install
|
|
}
|
|
|
|
sha512sums="
|
|
2e7d02e96f26569a2ae2e29d8644fa93e08229fbb288a67418c986d928cfa3d93e16793ca20cc9a39cbc74e5842395a37923f843fba2215350db350a307ff080 libhash-0.1.2.tar.gz
|
|
"
|