summaryrefslogtreecommitdiff
path: root/community/scrypt/PKGBUILD
blob: 64ffb6495944fa7e0e506dde8c0e56cf483c09bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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' 'mips64el')
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')