diff options
author | quininer kel | 2017-05-14 09:04:06 +0800 |
---|---|---|
committer | quininer kel | 2017-05-14 09:04:06 +0800 |
commit | 6b18e962444c796183afa85425cbffbf77395cfb (patch) | |
tree | fe2d3373e8bb7a0f402caa202662deede3694f11 | |
parent | d6e55e1765466e76ebb555646381e020156d210e (diff) | |
download | aur-6b18e962444c796183afa85425cbffbf77395cfb.tar.gz |
update
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,7 +1,7 @@ pkgname=argon2-git _gitname="phc-winner-argon2" pkgdesc="The password hash Argon2, winner of PHC" -pkgver=20161029.r31.g6f5427f +pkgver=20161029.r39.g30c78a1 pkgrel=1 arch=('i686' 'x86_64') conflicts=("argon2") @@ -18,6 +18,13 @@ pkgver() { git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } + +prepare() { + cd $_gitname + sed -i "/^#/d;s/\/@HOST_MULTIARCH@//g;s/@UPSTREAM_VER@/$pkgver/g" libargon2.pc + sed -i '1d' libargon2.pc +} + build() { cd $_gitname make @@ -31,4 +38,5 @@ check() { package() { cd $_gitname make DESTDIR="$pkgdir" install + install -Dm644 libargon2.pc $pkgdir/usr/lib/pkgconfig/libargon2.pc } |