diff options
author | Jiachen Yang | 2017-10-27 22:40:08 +0900 |
---|---|---|
committer | Jiachen Yang | 2017-10-27 22:40:08 +0900 |
commit | a7d6b50a65e10bb6251a48d3d06a18215e2624d4 (patch) | |
tree | 56026e2a5d3fc3e296d2b942202b5a25124e3349 | |
parent | de8766ddc49a468aa8b23ba1dbf8bad4068f5a75 (diff) | |
download | aur-a7d6b50a65e10bb6251a48d3d06a18215e2624d4.tar.gz |
add missing pkgver function
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -16,6 +16,13 @@ makedepends=('extra-cmake-modules' 'python' 'git') source=("git+https://github.com/fcitx/kcm-fcitx5.git") sha512sums=('SKIP') +pkgver() { + cd $_pkgname + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + + + prepare() { mkdir build } |