aboutsummaryrefslogtreecommitdiffstats
path: root/sha3sum/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-15 15:34:08 +0200
committerMattias Andrée <maandree@kth.se>2017-10-15 15:34:08 +0200
commit586cd0890aefe99d11061d7d3b3fe7c302319b12 (patch)
tree2c33b11d01faf40554bb93d90e13a893f56ff1b4 /sha3sum/PKGBUILD
parentChange email (diff)
downloadaur-packages-586cd0890aefe99d11061d7d3b3fe7c302319b12.tar.gz
aur-packages-586cd0890aefe99d11061d7d3b3fe7c302319b12.tar.bz2
aur-packages-586cd0890aefe99d11061d7d3b3fe7c302319b12.tar.xz
Add sha3sum
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'sha3sum/PKGBUILD')
-rw-r--r--sha3sum/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
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
+}