summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Beste2017-06-02 22:05:31 -0500
committerDan Beste2017-06-02 22:05:31 -0500
commitbd59c3d7608c3ded88dfdced06549d773b9787ea (patch)
tree2323d95b88fe29007708b2691eed00dd96f2a6fb
parenta3a468de7dfd1746d155336e1414bc1e79fd466a (diff)
downloadaur-bd59c3d7608c3ded88dfdced06549d773b9787ea.tar.gz
PKGBUILD cleanup
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD15
2 files changed, 10 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 47a9f46644b..dcc29573d9f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index c67cc1a65e8..7243a5689f5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}