diff options
Diffstat (limited to 'community/scrypt')
-rw-r--r-- | community/scrypt/LICENSE | 23 | ||||
-rw-r--r-- | community/scrypt/PKGBUILD | 28 |
2 files changed, 51 insertions, 0 deletions
diff --git a/community/scrypt/LICENSE b/community/scrypt/LICENSE new file mode 100644 index 000000000..620fe9e58 --- /dev/null +++ b/community/scrypt/LICENSE @@ -0,0 +1,23 @@ +Copyright 2009 Colin Percival +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. 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') |