aboutsummaryrefslogtreecommitdiffstats
path: root/libsha1/PKGBUILD
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 /libsha1/PKGBUILD
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 '')
-rw-r--r--libsha1/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/libsha1/PKGBUILD b/libsha1/PKGBUILD
new file mode 100644
index 0000000..2a0de0b
--- /dev/null
+++ b/libsha1/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
+
+pkgname=libsha1
+pkgver=1.0
+pkgrel=1
+pkgdesc="SHA-1 and SHA-0 hashing library"
+arch=(i686 x86_64)
+url="https://github.com/maandree/libsha1"
+license=('custom:ISC')
+depends=()
+checkdepends=()
+makedepends=()
+source=(libsha1-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=(94b9de0edde7a922bb96ccc3585f06b9d9bce0adc0261bfd4e19048544782825)
+
+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
+}