pkgs/blake2/PKGBUILD

25 lines
625 B
Text
Raw Permalink Normal View History

2023-12-11 13:18:00 +00:00
# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=blake2
pkgver=0.98.1
pkgrel=1
pkgdesc="C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp hash functions"
arch=("x86_64")
url="https://blake2.net/"
license=("custom:CC0")
source=("https://github.com/BLAKE2/libb2/releases/download/v$pkgver/libb2-$pkgver.tar.gz")
sha256sums=("53626fddce753c454a3fea581cbbc7fe9bbcf0bc70416d48fdbbf5d87ef6c72e")
export CC="${CC-cc} $CFLAGS"
build() {
cd libb2-$pkgver
./configure --prefix=/usr --disable-static --enable-shared --disable-native --enable-fat
make
}
package() {
cd libb2-$pkgver
make DESTDIR=$pkgdir install
}