aboutsummaryrefslogtreecommitdiffstats
path: root/libar2/PKGBUILD
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 /libar2/PKGBUILD
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 '')
-rw-r--r--libar2/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/libar2/PKGBUILD b/libar2/PKGBUILD
new file mode 100644
index 0000000..b1f5a90
--- /dev/null
+++ b/libar2/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
+
+pkgname=libar2
+pkgver=1.1
+pkgrel=1
+pkgdesc="Library for the Argon2-family of hashing functions"
+arch=(i686 x86_64)
+url="https://github.com/maandree/libar2"
+license=('custom:ISC')
+depends=(libblake)
+checkdepends=()
+makedepends=()
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=(f94e871b6e4b6a23e9019b3ff606836f05eb1ca8ec3eacd466c171cd0f0abd1a)
+
+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
+}