diff options
author | maz-1 | 2015-12-03 10:08:36 +0800 |
---|---|---|
committer | maz-1 | 2015-12-03 10:08:36 +0800 |
commit | 3e01effdd91b3326c68b88653a3718b44aad4807 (patch) | |
tree | 2719e56cc098ea5c69615a15dc31c787a6e6e527 | |
parent | 3aec0f5d2ff083a70fa609babca10a8b6b8ed99a (diff) | |
download | aur-3e01effdd91b3326c68b88653a3718b44aad4807.tar.gz |
fix pkgver
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = kimtoy-frameworks-git pkgdesc = Standalone input method panel. KF5 branch. - pkgver = 1.10.1 + pkgver = 20150824.ga4464f6 pkgrel = 1 url = http://kde-apps.org/content/show.php/KIMToy?content=140967 install = kimtoy-frameworks-git.install @@ -1,7 +1,7 @@ # Maintainer: maz-1 <ohmygod19993 at gmail dot com> pkgname=kimtoy-frameworks-git -pkgver=1.10.1 +pkgver=20150824.ga4464f6 pkgdesc="Standalone input method panel. KF5 branch." pkgrel=1 arch=('i686' 'x86_64') @@ -18,6 +18,12 @@ conflicts=kimtoy install=$pkgname.install source=("git+https://github.com/ahyangyi/kimtoy.git#branch=kf5") +pkgver() { + cd "$srcdir/kimtoy" + echo "$(git show -s --format="%ci"|grep -oP '\d{4}-\d{2}-\d{2}'|sed 's:-::g').g$(git describe --always)" +} + + prepare() { rm -rf build mkdir -p build |