summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4029fc7c178..9a9a521746c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-graph-tool-git
pkgdesc = A Python module for manipulation and statistical analysis of graphs
- pkgver = release.2.27.r7.g41bae98c
+ pkgver = 2.27.r7.g41bae98c
pkgrel = 1
url = https://graph-tool.skewed.de
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 5da069fa600..756bfb8b3ad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=python-graph-tool
pkgname=python-graph-tool-git
-pkgver=release.2.27.r7.g41bae98c
+pkgver=2.27.r7.g41bae98c
pkgrel=1
pkgdesc='A Python module for manipulation and statistical analysis of graphs'
arch=('i686' 'x86_64')
@@ -22,7 +22,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/release\.//'
}
build() {