aboutsummaryrefslogtreecommitdiffstats
path: root/libsha2
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-02-10 21:05:25 +0100
committerMattias Andrée <maandree@kth.se>2019-02-10 21:05:25 +0100
commit49df00e528fd1a863d2f33373b5926cb210e6016 (patch)
tree98e4f17273c6aef331418c55cb0c49cfb9cff8fc /libsha2
parentUpdate libkeccak (diff)
downloadaur-packages-49df00e528fd1a863d2f33373b5926cb210e6016.tar.gz
aur-packages-49df00e528fd1a863d2f33373b5926cb210e6016.tar.bz2
aur-packages-49df00e528fd1a863d2f33373b5926cb210e6016.tar.xz
...
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libsha2')
-rw-r--r--libsha2/PKGBUILD29
l---------libsha2/upload1
2 files changed, 30 insertions, 0 deletions
diff --git a/libsha2/PKGBUILD b/libsha2/PKGBUILD
new file mode 100644
index 0000000..aac0ee7
--- /dev/null
+++ b/libsha2/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
+
+pkgname=libsha2
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="SHA-2-family hashing library"
+arch=(i686 x86_64)
+url="https://github.com/maandree/libsha2"
+license=('custom:ISC')
+depends=()
+checkdepends=()
+makedepends=()
+source=(libsha2-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=(61601acb20e1e48161672783b851c12542c812b38b439bdc3615f22fbb2ef755)
+
+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/libsha2/upload b/libsha2/upload
new file mode 120000
index 0000000..1e7a8be
--- /dev/null
+++ b/libsha2/upload
@@ -0,0 +1 @@
+../upload \ No newline at end of file