summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12019-05-13 20:58:07 +0800
committerChocobo12019-05-13 20:58:41 +0800
commita2fbd69c03450296c4573691d53068ad70c9f7c5 (patch)
treef9c3946c43b7d628eba10e2b7a741f9058bfe3c7
parent8ed732b5dc4a11803e84364dae90d3c83fd577f8 (diff)
downloadaur-a2fbd69c03450296c4573691d53068ad70c9f7c5.tar.gz
upgpkg: libscrypt-git 1.21.r13.ga402f41-1
-rw-r--r--.SRCINFO5
-rw-r--r--.gitignore7
-rw-r--r--PKGBUILD41
3 files changed, 21 insertions, 32 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d8bec30ffdb..69434cb4f79 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = libscrypt-git
- pkgdesc = Shared library that implements scrypt() functionality - a replacement for bcrypt()
- pkgver = 1.21.r5.g164525d
+ pkgdesc = Linux scrypt shared library
+ pkgver = 1.21.r13.ga402f41
pkgrel = 1
url = https://github.com/technion/libscrypt
arch = i686
arch = x86_64
license = BSD
makedepends = git
+ depends = glibc
provides = libscrypt
conflicts = libscrypt
source = git+https://github.com/technion/libscrypt.git
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 9865d22ba8e..00000000000
--- a/.gitignore
+++ /dev/null
@@ -1,7 +0,0 @@
-# Blacklist:
-*
-
-# Whitelist:
-!.gitignore
-!PKGBUILD
-!.SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
index 1832af4a5f3..64240a0748a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,48 +1,43 @@
-# Maintainer: Dan Beste <dan.ray.beste@gmail.com>
+# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
+# Former maintainer: Dan Beste <dan.ray.beste@gmail.com>
# Contributor: Lex Black <autumn-wind at web dot de>
-pkgname='libscrypt-git'
-_gitname='libscrypt'
-pkgver=1.21.r5.g164525d
+pkgname=libscrypt-git
+pkgver=1.21.r13.ga402f41
pkgrel=1
-pkgdesc='Shared library that implements scrypt() functionality - a replacement for bcrypt()'
+pkgdesc="Linux scrypt shared library"
arch=('i686' 'x86_64')
-url='https://github.com/technion/libscrypt'
+url="https://github.com/technion/libscrypt"
license=('BSD')
+depends=('glibc')
makedepends=('git')
-provides=("${_gitname}")
-conflicts=("${_gitname}")
-source=('git+https://github.com/technion/libscrypt.git')
+provides=('libscrypt')
+conflicts=('libscrypt')
+source=("git+https://github.com/technion/libscrypt.git")
sha256sums=('SKIP')
+
pkgver() {
- cd "${_gitname}"
+ cd "libscrypt"
- git describe --long \
- | sed 's/\([^-]*-g\)/r\1/;s/-/./g' \
- | sed 's/v//'
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- cd "${_gitname}"
+ cd "libscrypt"
- CFLAGS="${CFLAGS} -fPIC"
make
}
check() {
- cd "${_gitname}"
+ cd "libscrypt"
make check
}
package() {
- cd "${_gitname}"
-
- make PREFIX='/usr' DESTDIR="${pkgdir}" install
+ cd "libscrypt"
- install -d -m 755 "${pkgdir}/usr/share/licenses/${pkgname}/"
- install -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ make DESTDIR="$pkgdir" PREFIX="/usr" install
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/libscrypt/LICENSE"
}
-
-# vim: ts=2 sw=2 et: