diff options
author | Chocobo1 | 2020-09-16 21:49:19 +0800 |
---|---|---|
committer | Chocobo1 | 2020-09-16 21:49:19 +0800 |
commit | ea705e796198d745d70937f7a28974ac1c2b7a17 (patch) | |
tree | cbd19191720e20e7e545025a6061e838a2e98c9b /PKGBUILD | |
parent | 8fd28b877a69545fd9422f4bd0f432ab8f31097d (diff) | |
download | aur-ea705e796198d745d70937f7a28974ac1c2b7a17.tar.gz |
upgpkg: libseccomp-git 2.5.0.r13.g3734fdc-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3,7 +3,7 @@ # Contributor: Daniel Micay <danielmicay@gmail.com> pkgname=libseccomp-git -pkgver=2.4.3.r77.g5abc3b1 +pkgver=2.5.0.r13.g3734fdc pkgrel=1 pkgdesc="Interface to the Linux Kernel's syscall filtering mechanism" arch=('i686' 'x86_64') @@ -21,10 +21,10 @@ sha256sums=('SKIP') pkgver() { cd "libseccomp" - _tag=$(git tag -l --sort -v:refname | sed -n '1,1{s/v//p}') - _rev=$(git rev-list --count v$_tag..HEAD) + _tag=$(git tag -l --sort -v:refname | head -n1) + _rev=$(git rev-list --count $_tag..HEAD) _hash=$(git rev-parse --short HEAD) - printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" + printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" | sed 's/^v//' } build() { |