From 586cd0890aefe99d11061d7d3b3fe7c302319b12 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 15 Oct 2017 15:34:08 +0200 Subject: Add sha3sum MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- sha3sum/PKGBUILD | 29 +++++++++++++++++++++++++++++ sha3sum/upload | 1 + 2 files changed, 30 insertions(+) create mode 100644 sha3sum/PKGBUILD create mode 120000 sha3sum/upload (limited to 'sha3sum') diff --git a/sha3sum/PKGBUILD b/sha3sum/PKGBUILD new file mode 100644 index 0000000..483fcfa --- /dev/null +++ b/sha3sum/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> + +pkgname=sha3sum +pkgver=1.1 +pkgrel=1 +pkgdesc="Keccak-family checksum calculator, including SHA-3" +arch=(i686 x86_64) +url="https://github.com/maandree/sha3sum" +license=('ISC') +depends=(libkeccak) +makedepends=(libkeccak sed) +source=($url/archive/$pkgver.tar.gz) +sha256sums=(71ecdd34b947f8060e43b78431cab4c9066549a2193499c5e12e7d2ec4af92be) + + +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/sha3sum/upload b/sha3sum/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/sha3sum/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file -- cgit v1.2.3-70-g09d2