diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = kalamine-git pkgdesc = A text-based, cross-platform Keyboard Layout Maker. - pkgver = r136.906f4ad + pkgver = v0.33.r1.0a6df08 pkgrel = 1 url = https://github.com/OneDeadKey/kalamine arch = any @@ -4,7 +4,7 @@ # (https://aur.archlinux.org/packages/fanficfare-git) _pkgname=kalamine pkgname=kalamine-git -pkgver=r136.906f4ad +pkgver=v0.33.r1.0a6df08 pkgrel=1 pkgdesc="A text-based, cross-platform Keyboard Layout Maker." arch=('any') @@ -33,7 +33,7 @@ md5sums=('SKIP') pkgver() { cd "$srcdir/${_pkgname}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" } prepare () { |