summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Reis2018-10-27 20:14:50 -0300
committerGustavo Reis2018-10-27 20:14:50 -0300
commit0e4a28c62133351381d216c9171cc03a92ae599b (patch)
treee24b92d50e98c15938daab3fb29bfc8d8e01742f
parent5fd56962b3f4567495e87832a3af867035dda627 (diff)
downloadaur-0e4a28c62133351381d216c9171cc03a92ae599b.tar.gz
Small git and upgrade fixes
-rw-r--r--.SRCINFO5
-rw-r--r--CHANGELOG3
-rw-r--r--PKGBUILD8
3 files changed, 11 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a544bc585009..cc4b0236ed84 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 3a536b58417d..166a921af650 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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()