diff options
author | root | 2021-09-01 23:56:35 +0200 |
---|---|---|
committer | root | 2021-09-01 23:56:35 +0200 |
commit | 53fefea14454a6191a3ec0da234cf829150636cb (patch) | |
tree | c7f1eed2e7d40dfb51f8eacd110714b3438cf52a | |
parent | 211f457a2a83a6463d98b110b52c18bc1f169002 (diff) | |
download | aur-53fefea14454a6191a3ec0da234cf829150636cb.tar.gz |
New commit upstream, $pkgver pump.
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 10 insertions, 8 deletions
@@ -1,8 +1,8 @@ pkgbase = authsae-git pkgdesc = Authsae provides secure password-based authentication for 802.11s mesh networking. - pkgver = 1.2.9_4+r420.20190225.109a2e8 + pkgver = 1.3.1+r440.20190806.73f31dd pkgrel = 1 - epoch = 3 + epoch = 4 url = https://github.com/cozybit/authsae arch = x86 arch = x86_64 @@ -17,4 +17,3 @@ pkgbase = authsae-git md5sums = SKIP pkgname = authsae-git - @@ -4,8 +4,8 @@ _pkgname="authsae" pkgname="${_pkgname}-git" pkgrel=1 -pkgver=1.2.9_4+r420.20190225.109a2e8 -epoch=3 +pkgver=1.3.1+r440.20190806.73f31dd +epoch=4 pkgdesc="Authsae provides secure password-based authentication for 802.11s mesh networking." arch=('x86' 'x86_64') url="https://github.com/cozybit/${_pkgname}" @@ -19,14 +19,17 @@ source=("${_pkgname}::git+https://github.com/cozybit/authsae.git") pkgver() { cd "${srcdir}/${_pkgname}" - + _ver="$(git describe --tags | sed 's|^v||' | sed 's|\-[^-]*$||' | tr '-' '_')" _rev="$(git rev-list --count HEAD)" _hash="$(git rev-parse --short HEAD)" _date="$(git log -n 1 --format=tformat:%ci | awk '{print $1}' | tr -d '-')" - + if [ -n "${_ver}" ]; then printf %s "${_ver}+r${_rev}.${_date}.${_hash}" + else + error "Could not determine version." + return 1 fi } @@ -49,7 +52,7 @@ build() { # FIXME: the cmake script does something very wrong and attempts to install the config file in prefix+/etc, submit patch to upstream to allow to change that msg2 "Fixing a cmake script fault: Place config in '/etc/', not '/usr/etc/' ..." - sed -i 's|/usr/etc/|/etc|' cmake_install.cmake + #sed -i 's|/usr/etc/|/etc|' cmake_install.cmake msg2 "Running 'make' ..." make |