summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandar Trifunovic2018-09-06 12:31:26 +0200
committerAleksandar Trifunovic2018-09-06 12:31:26 +0200
commit93659bb9a8b6b496e59783a64eb2d8674d332cec (patch)
treef1bd67c581f8dcbfba2c6380c742a1fed80cbf58
parente3a8e2de2f3b7a2bfb0956fe4b6197c772ffcca6 (diff)
downloadaur-93659bb9a8b6b496e59783a64eb2d8674d332cec.tar.gz
remove word release from version
-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() {