diff options
author | Dan Beste | 2017-06-02 22:05:31 -0500 |
---|---|---|
committer | Dan Beste | 2017-06-02 22:05:31 -0500 |
commit | bd59c3d7608c3ded88dfdced06549d773b9787ea (patch) | |
tree | 2323d95b88fe29007708b2691eed00dd96f2a6fb | |
parent | a3a468de7dfd1746d155336e1414bc1e79fd466a (diff) | |
download | aur-bd59c3d7608c3ded88dfdced06549d773b9787ea.tar.gz |
PKGBUILD cleanup
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 10 insertions, 7 deletions
@@ -9,7 +9,7 @@ pkgbase = libscrypt-git makedepends = git provides = libscrypt conflicts = libscrypt - source = git+https://github.com/technion/libscrypt + source = git+https://github.com/technion/libscrypt.git sha256sums = SKIP pkgname = libscrypt-git @@ -1,4 +1,4 @@ -# Maintainer: Lex Black <autumn-wind at web dot de> +# Maintainer: Dan Beste <dan.ray.beste@gmail.com> pkgname='libscrypt-git' gitname='libscrypt' @@ -11,20 +11,21 @@ license=('BSD') makedepends=('git') provides=("${gitname}") conflicts=("${gitname}") -source=('git+https://github.com/technion/libscrypt') +source=('git+https://github.com/technion/libscrypt.git') sha256sums=('SKIP') pkgver() { cd "${gitname}" - git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/v//' + git describe --long \ + | sed 's/\([^-]*-g\)/r\1/;s/-/./g' \ + | sed 's/v//' } build() { cd "${gitname}" CFLAGS="${CFLAGS} -fPIC" - make } @@ -37,6 +38,8 @@ check() { package() { cd "${gitname}" - make PREFIX='/usr' DESTDIR="${pkgdir}" install - install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + make PREFIX=/usr DESTDIR="${pkgdir}" install + install -D -m 644 \ + LICENSE \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |