From 37a49c97f10f07acb5221aad229aa5e1aec261ac Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 15 Feb 2022 23:25:44 +0100 Subject: Add libblake, libar2, and libar2simplified MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libblake/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 libblake/PKGBUILD (limited to 'libblake/PKGBUILD') diff --git a/libblake/PKGBUILD b/libblake/PKGBUILD new file mode 100644 index 0000000..5e63864 --- /dev/null +++ b/libblake/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> + +pkgname=libblake +pkgver=1.0 +pkgrel=1 +pkgdesc="Library for the BLAKE-family of hashing functions" +arch=(i686 x86_64) +url="https://github.com/maandree/libblake" +license=('custom:ISC') +depends=() +checkdepends=() +makedepends=() +source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(4e435aba4f4edef18a1e09b3c20f4618daaa8c9cc4057e3136199ab91c1ba8eb) + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr DESTDIR="$pkgdir" install +} -- cgit v1.2.3-70-g09d2