diff options
author | Gustavo Reis | 2018-10-27 20:14:50 -0300 |
---|---|---|
committer | Gustavo Reis | 2018-10-27 20:14:50 -0300 |
commit | 0e4a28c62133351381d216c9171cc03a92ae599b (patch) | |
tree | e24b92d50e98c15938daab3fb29bfc8d8e01742f | |
parent | 5fd56962b3f4567495e87832a3af867035dda627 (diff) | |
download | aur-0e4a28c62133351381d216c9171cc03a92ae599b.tar.gz |
Small git and upgrade fixes
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | CHANGELOG | 3 | ||||
-rw-r--r-- | PKGBUILD | 8 |
3 files changed, 11 insertions, 5 deletions
@@ -1,8 +1,9 @@ pkgbase = suru-plus-git pkgdesc = Suru++ 20 — A cyberpunk, elegant, futuristic and modern third-party icons theme! - pkgver = 20.3.0 - pkgrel = 1 + pkgver = 20.3.1 + pkgrel = 2 url = https://github.com/gusbemacbe/suru-plus + changelog = CHANGELOG arch = any license = GPL3 makedepends = git diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 000000000000..9698c9fb9777 --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,3 @@ +# 20.3.1-2 + +* Fixed the wrong upgrade version @@ -3,12 +3,13 @@ _gitname=suru-plus pkgname=suru-plus-git -pkgver=20.3.0 -pkgrel=1 +pkgver=20.3.1 +pkgrel=2 pkgdesc="Suru++ 20 — A cyberpunk, elegant, futuristic and modern third-party icons theme!" arch=('any') url="https://github.com/gusbemacbe/${_gitname}" license=('GPL3') +changelog=CHANGELOG makedepends=('git') options=('!strip') conflicts=(${_gitname}) @@ -18,7 +19,8 @@ sha256sums=('SKIP') pkgver() { cd ${_gitname} - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + # printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() |