[arch-commits] Commit in scrypt/trunk (LICENSE PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Fri Feb 23 16:13:42 UTC 2018
Date: Friday, February 23, 2018 @ 16:13:41
Author: anthraxx
Revision: 297232
upgpkg: scrypt 1.2.1-4
Modified:
scrypt/trunk/PKGBUILD
Deleted:
scrypt/trunk/LICENSE
----------+
LICENSE | 23 -----------------------
PKGBUILD | 33 +++++++++++++++++++--------------
2 files changed, 19 insertions(+), 37 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2018-02-23 14:51:08 UTC (rev 297231)
+++ LICENSE 2018-02-23 16:13:41 UTC (rev 297232)
@@ -1,23 +0,0 @@
-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.
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-23 14:51:08 UTC (rev 297231)
+++ PKGBUILD 2018-02-23 16:13:41 UTC (rev 297232)
@@ -1,28 +1,33 @@
-# $Id$
-# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
# Contributor: Oliver Herold <oliver - at - akephalos - dot - de>
pkgname=scrypt
pkgver=1.2.1
-pkgrel=3
-pkgdesc="key derivation function and encryption utility"
+pkgrel=4
+pkgdesc='key derivation function and encryption utility'
arch=('x86_64')
-depends=(openssl)
-url="https://www.tarsnap.com/scrypt/"
+depends=('openssl')
+url='https://www.tarsnap.com/scrypt/'
license=('BSD')
-source=(https://www.tarsnap.com/scrypt/scrypt-$pkgver.tgz
- LICENSE)
-sha256sums=('4621f5e7da2f802e20850436219370092e9fcda93bd598f6d4236cce33f4c577'
- 'b02ea12e4a5a42008daedb8b871a1b6f2e062c743b2c00c5d077f8d6bb95145b')
+source=(https://www.tarsnap.com/scrypt/scrypt-${pkgver}.tgz)
+sha512sums=('ffda0ee90d283985245b77cc1d04b13c52aff78e925f323075d3b2c0439f16bbba1c432de8607820af945e6fa4e3be0e22a422b0b43a1fca0504cee3761004cd')
build() {
- cd $pkgname-$pkgver
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
+check() {
+ cd ${pkgname}-${pkgver}
+ make test
+}
+
package() {
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list