summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Osvaldo Barrera2015-11-29 21:27:32 -0300
committerHugo Osvaldo Barrera2015-11-29 21:27:32 -0300
commitfb5530bd4468bd11fa78be907725ae2fc86722ff (patch)
treee07809911d95ccf22886977f4dcf0472c6ebf14e
parent7a3b8f784ab3dad539b020ac30c1e48d9d098e6e (diff)
downloadaur-fb5530bd4468bd11fa78be907725ae2fc86722ff.tar.gz
Use upstream-provided versioning scheme
-rw-r--r--PKGBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c9fb2187125..1eb2973602c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,10 +21,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
- ( set -o pipefail
- git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
- )
+ python setup.py --version
}
build() {