summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJon Gjengset2015-11-05 12:52:54 -0500
committerJon Gjengset2015-11-05 12:52:54 -0500
commit80483042159f08d9aa353d91db086b0aec595ac2 (patch)
tree15bcde0b53dbb990b09947fed431efec931cae12 /PKGBUILD
parent89ca386e2ce1e46beee75163a53b5e1346a70e37 (diff)
downloadaur-80483042159f08d9aa353d91db086b0aec595ac2.tar.gz
Fix version number
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index eb1939199013..dbb2bf45fc05 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgbase="python-theano-git"
pkgname=("python-theano-git" "python2-theano-git")
_pkgname="Theano"
-pkgver=rel.0.7.1a1.r1287.4260bbf
+pkgver=0.7.1a1.r1287.4260bbf
pkgrel=1
pkgdesc='Definition and optimized evaluation of mathematical expressions on Numpy arrays.'
arch=('any')
@@ -23,7 +23,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgbase%-git}"
- printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
+ printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/^rel\.//')"
}