summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Beste2017-06-19 09:26:49 -0500
committerDan Beste2017-06-19 09:26:49 -0500
commitb081e4e707021d264c3be2b6a1612967e7f54f87 (patch)
tree95f106e9b9971d3965fe0403409e2011cff5f24e
parenta3a468de7dfd1746d155336e1414bc1e79fd466a (diff)
downloadaur-b081e4e707021d264c3be2b6a1612967e7f54f87.tar.gz
Syntax update
-rw-r--r--PKGBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c67cc1a65e8..95eec8c9e11 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
-# Maintainer: Lex Black <autumn-wind at web dot de>
+# Maintainer: Dan Beste <dan.ray.beste@gmail.com>
+# Contributor: Lex Black <autumn-wind at web dot de>
pkgname='libscrypt-git'
-gitname='libscrypt'
+_gitname='libscrypt'
pkgver=1.21.r2.gf2b7923
pkgrel=1
pkgdesc='Shared library that implements scrypt() functionality - a replacement for bcrypt()'
@@ -15,13 +16,13 @@ source=('git+https://github.com/technion/libscrypt')
sha256sums=('SKIP')
pkgver() {
- cd "${gitname}"
+ cd "${_gitname}"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/v//'
}
build() {
- cd "${gitname}"
+ cd "${_gitname}"
CFLAGS="${CFLAGS} -fPIC"
@@ -29,14 +30,16 @@ build() {
}
check() {
- cd "${gitname}"
+ cd "${_gitname}"
make check
}
package() {
- cd "${gitname}"
+ cd "${_gitname}"
make PREFIX='/usr' DESTDIR="${pkgdir}" install
- install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ install -d -m 755 "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}