aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-13 03:47:31 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-13 03:47:31 +0100
commit6a8ac5ddcd2c33b7903903c4503907de62aca9e7 (patch)
treed77bb15eaf188e1ba934f106ce50b944e4be6854 /dist
parentm (diff)
downloadlibkeccak-6a8ac5ddcd2c33b7903903c4503907de62aca9e7.tar.gz
libkeccak-6a8ac5ddcd2c33b7903903c4503907de62aca9e7.tar.bz2
libkeccak-6a8ac5ddcd2c33b7903903c4503907de62aca9e7.tar.xz
dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'dist')
-rw-r--r--dist/archlinux/stable/.gitignore6
-rw-r--r--dist/archlinux/stable/PKGBUILD33
2 files changed, 39 insertions, 0 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore
new file mode 100644
index 0000000..7d1942a
--- /dev/null
+++ b/dist/archlinux/stable/.gitignore
@@ -0,0 +1,6 @@
+*
+!/.git*
+*~
+!/PKGBUILD
+!/libkeccak.install
+
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
new file mode 100644
index 0000000..f999bbb
--- /dev/null
+++ b/dist/archlinux/stable/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=libkeccak
+pkgver=0.1
+pkgrel=1
+pkgdesc="Keccak-family hashing library"
+arch=(i686 x86_64)
+url="https://github.com/maandree/libkeccak"
+license=('AGPL3')
+depends=(glibc)
+checkdepends=(glibc valgrind make coreutils)
+makedepends=(glibc gcc make coreutils binutils)
+source=($url/archive/$pkgver.tar.gz)
+sha256sums=(04be42a6c4b53f9846efb235ecb636ddf0fa63dd33a1f20ea74a24bf74f8c3b3)
+
+
+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"
+}
+