summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgenstern2020-09-28 10:02:10 +1300
committerMorgenstern2020-09-28 10:02:10 +1300
commit390089a820f08bfd461eed44d8a90a07b72df00e (patch)
treee114db70d39cc984b3b5d55d8b4de92c86a61940
parentce33d3298342ca1eee99d10c9ce61e4179770735 (diff)
downloadaur-390089a820f08bfd461eed44d8a90a07b72df00e.tar.gz
Fixed pkgver function again
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bbe6bbfebbe..1a50d2c62af 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = cherrytree-git
pkgdesc = Hierarchical note-taking application, git version
- pkgver = 0.99.11.r169.g63ae50a1
+ pkgver = 0.99.13.r0.gc2b74656
pkgrel = 1
url = https://github.com/giuspen/cherrytree
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index a1a85e8ca8e..9680693410d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=cherrytree-git
_pkgname=$(echo -e "${pkgname/-git/}")
-pkgver=0.99.11.r169.g63ae50a1
+pkgver=0.99.13.r0.gc2b74656
pkgrel=1
pkgdesc="Hierarchical note-taking application, git version"
arch=('x86_64')
@@ -22,7 +22,7 @@ sha256sums=('SKIP')
pkgver() {
local _pkgver
cd "${_pkgname}"
- _pkgver=$(grep cherrytree debian/changelog | sed 's/.*(\(.*\)).*$/\1/g' | \
+ _pkgver=$(grep -m1 cherrytree debian/changelog | sed 's/.*(\(.*\)).*$/\1/g' | \
sed 's/\-.*$//g')
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | \
sed "s/.*r/$_pkgver\.r/"