summaryrefslogtreecommitdiff
path: root/community/scrypt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/scrypt/PKGBUILD')
-rw-r--r--community/scrypt/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/scrypt/PKGBUILD b/community/scrypt/PKGBUILD
new file mode 100644
index 000000000..ebec0b4f3
--- /dev/null
+++ b/community/scrypt/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 82492 2013-01-19 15:11:52Z thestinger $
+# Maintainer: Daniel Micay <danielmicay@gmail.com>
+# Contributor: Oliver Herold <oliver - at - akephalos - dot - de>
+
+pkgname=scrypt
+pkgver=1.1.6
+pkgrel=3
+pkgdesc="key derivation function and encryption utility"
+arch=('i686' 'x86_64')
+depends=(openssl)
+url="http://www.tarsnap.com/scrypt/"
+license=('BSD')
+source=(http://www.tarsnap.com/scrypt/scrypt-1.1.6.tgz LICENSE)
+md5sums=('a35523cd497f7283635ce881db39c2e2')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+md5sums=('a35523cd497f7283635ce881db39c2e2'
+ '46754c4c55dc7c70dbb3480dce6274da')