summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 263193db1bbe..9dd73f865354 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,7 @@
+_reponame=babel
pkgbase=python-babel-git
pkgname=(python-babel-git python2-babel-git)
-pkgver=r.
+pkgver=r878.ada7140
pkgrel=1
pkgdesc="A collection of tools for internationalizing Python applications"
url="http://babel.pocoo.org/"
@@ -13,7 +14,7 @@ source=('git+https://github.com/mitsuhiko/babel.git')
sha512sums=('SKIP')
pkgver() {
- cd "$_pkgname"
+ cd "$_reponame"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}