diff options
author | Jianqiu Zhang | 2019-03-16 21:31:52 +0800 |
---|---|---|
committer | Jianqiu Zhang | 2019-03-16 21:31:52 +0800 |
commit | 723f8e2e398ab1d2402af87d8414c88425338848 (patch) | |
tree | 7e0ae636440e5641c8c330a337ef924477f06d6c | |
parent | 03a1e60abb09ef534d3d6e99923a466cc13e23a3 (diff) | |
download | aur-723f8e2e398ab1d2402af87d8414c88425338848.tar.gz |
Update PKGBUILD
Signed-off-by: Jianqiu Zhang <zhangjianqiu13@gmail.com>
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -2,7 +2,6 @@ pkgname=kcm-colorful-git -pkgver=0.0.1 pkgrel=1 pkgdesc='Make your KDE plasma colorful' arch=('x86_64') @@ -17,6 +16,11 @@ source=( sha256sums=('SKIP') +pkgver() { + cd "$pkgname" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + prepare() { cd $srcdir/kcm-colorful git submodule init |