aboutsummaryrefslogtreecommitdiffstats
path: root/libblake
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-15 23:25:44 +0100
committerMattias Andrée <maandree@kth.se>2022-02-15 23:25:44 +0100
commit37a49c97f10f07acb5221aad229aa5e1aec261ac (patch)
treedd19e8288b00da4a83c3e525e9952c02c267822e /libblake
parentUpdate libparser to version 1.1.1 (diff)
downloadaur-packages-37a49c97f10f07acb5221aad229aa5e1aec261ac.tar.gz
aur-packages-37a49c97f10f07acb5221aad229aa5e1aec261ac.tar.bz2
aur-packages-37a49c97f10f07acb5221aad229aa5e1aec261ac.tar.xz
Add libblake, libar2, and libar2simplified
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libblake')
-rw-r--r--libblake/PKGBUILD29
l---------libblake/upload1
2 files changed, 30 insertions, 0 deletions
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
+}
diff --git a/libblake/upload b/libblake/upload
new file mode 120000
index 0000000..1e7a8be
--- /dev/null
+++ b/libblake/upload
@@ -0,0 +1 @@
+../upload \ No newline at end of file