diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = fcitx5-lua-git pkgdesc = Lua support for fcitx5, with an imeapi addon implementing googlepinyin api - pkgver = r23.d59ac50 - pkgrel = 1 + pkgver = 5.0.0.r0.gff218dd + pkgrel = 2 url = https://github.com/fcitx/fcitx5-lua arch = i686 arch = x86_64 @@ -3,8 +3,8 @@ _pkgname=fcitx5-lua pkgname="$_pkgname-git" -pkgver=r23.d59ac50 -pkgrel=1 +pkgver=5.0.0.r0.gff218dd +pkgrel=2 pkgdesc="Lua support for fcitx5, with an imeapi addon implementing googlepinyin api" arch=('i686' 'x86_64') url="https://github.com/fcitx/$_pkgname" @@ -18,7 +18,7 @@ sha512sums=('SKIP') pkgver() { cd $_pkgname - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build(){ |