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 --- libar2/PKGBUILD | 29 +++++++++++++++++++++++++++++ libar2/upload | 1 + libar2simplified/PKGBUILD | 29 +++++++++++++++++++++++++++++ libar2simplified/upload | 1 + libblake/PKGBUILD | 29 +++++++++++++++++++++++++++++ libblake/upload | 1 + 6 files changed, 90 insertions(+) create mode 100644 libar2/PKGBUILD create mode 120000 libar2/upload create mode 100644 libar2simplified/PKGBUILD create mode 120000 libar2simplified/upload create mode 100644 libblake/PKGBUILD create mode 120000 libblake/upload 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 +} diff --git a/libar2/upload b/libar2/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/libar2/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file diff --git a/libar2simplified/PKGBUILD b/libar2simplified/PKGBUILD new file mode 100644 index 0000000..2542b6d --- /dev/null +++ b/libar2simplified/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> + +pkgname=libar2simplified +pkgver=1.1 +pkgrel=1 +pkgdesc="Facade for libar2" +arch=(i686 x86_64) +url="https://github.com/maandree/libar2simplified" +license=('custom:ISC') +depends=(libblake libar2) +checkdepends=() +makedepends=() +source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(2aa80e1a4e43dfa8d1f03220f5ee29049ed739e4d740c399d4ac3b9b58409cd4) + +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/libar2simplified/upload b/libar2simplified/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/libar2simplified/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file 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 -- cgit v1.2.3-70-g09d2