diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = libime-git pkgdesc = A library to support generic input method implementation - pkgver = r216.9e409f5 + pkgver = 1.0.1.r0.g7fd9b50 pkgrel = 1 url = https://github.com/fcitx/libime arch = i686 @@ -3,7 +3,7 @@ # Contributor: csslayer <wengxt AT gmail com> pkgname=libime-git -pkgver=r216.9e409f5 +pkgver=1.0.1.r0.g7fd9b50 pkgrel=1 pkgdesc="A library to support generic input method implementation" arch=('i686' 'x86_64') @@ -18,7 +18,7 @@ sha512sums=('SKIP') pkgver() { cd libime - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { |