summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAleksandar Trifunovic2018-09-06 12:31:26 +0200
committerAleksandar Trifunovic2018-09-06 12:31:26 +0200
commit93659bb9a8b6b496e59783a64eb2d8674d332cec (patch)
treef1bd67c581f8dcbfba2c6380c742a1fed80cbf58 /PKGBUILD
parente3a8e2de2f3b7a2bfb0956fe4b6197c772ffcca6 (diff)
downloadaur-93659bb9a8b6b496e59783a64eb2d8674d332cec.tar.gz
remove word release from version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5da069fa6004..756bfb8b3ad6 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() {