diff options
author | Chocobo1 | 2024-01-12 17:39:25 +0800 |
---|---|---|
committer | Chocobo1 | 2024-01-12 17:39:25 +0800 |
commit | 9a9f0e1a12c7c372beef7e13601a6276922f43f8 (patch) | |
tree | ba93bb3302f80a89a0235a99cdd2de7839afbfba | |
parent | c2ac594a0b492699894deddb8ba370c3b79845a2 (diff) | |
download | aur-9a9f0e1a12c7c372beef7e13601a6276922f43f8.tar.gz |
upgpkg: libutempter-git 1.2.1.alt1.r14.g9f29181-2
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = libutempter-git pkgdesc = A library for utmp/wtmp updates pkgver = 1.2.1.alt1.r14.g9f29181 - pkgrel = 1 + pkgrel = 2 url = https://github.com/altlinux/libutempter arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ pkgname=libutempter-git pkgver=1.2.1.alt1.r14.g9f29181 -pkgrel=1 +pkgrel=2 pkgdesc="A library for utmp/wtmp updates" arch=('i686' 'x86_64') url="https://github.com/altlinux/libutempter" @@ -21,7 +21,7 @@ pkgver() { _tag=$(git tag -l --sort -v:refname | grep -E '^[0-9\.]+-alt.*$' | head -n1) _rev=$(git rev-list --count $_tag..HEAD) _hash=$(git rev-parse --short HEAD) - printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" | sed 's/-/./' + printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" | sed 's/-/./g' } build() { |