diff options
author | Nazar Vinnichuk | 2020-06-02 17:20:50 +0300 |
---|---|---|
committer | Nazar Vinnichuk | 2020-06-02 17:20:50 +0300 |
commit | cf975a9afd4c1bfd8113f1be0be179294a8f624e (patch) | |
tree | d7b8113a49112f35973bd545603743c17aad40f5 | |
parent | 38468857769eec2c177b7c008332d972456c35f3 (diff) | |
download | aur-cf975a9afd4c1bfd8113f1be0be179294a8f624e.tar.gz |
Do not spit hyphens in pkgver.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = pacwall-git pkgdesc = Dependency graph of installed packages on your wallpaper. - pkgver = 1.1 + pkgver = 1.1.r1.gd36b113 pkgrel = 1 url = http://github.com/Kharacternyk/pacwall arch = any @@ -1,7 +1,7 @@ # Maintainer: Nazar Vinnichuk <nazar.vinnichuk at tutanota dot com> pkgname=pacwall-git _pkgname=${pkgname%-git} -pkgver=1.1 +pkgver=1.1.r1.gd36b113 pkgrel=1 pkgdesc="Dependency graph of installed packages on your wallpaper." url="http://github.com/Kharacternyk/${_pkgname}" @@ -19,7 +19,7 @@ sha256sums=(SKIP) pkgver() { cd "${srcdir}/${_pkgname}" - local _version="$(git describe --tags --match 'v*')" + local _version="$(git describe --tags --match 'v*' | sed 's/-/.r/' | sed 's/-/./')" printf "${_version#v}" } |