summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohannes Wienke2015-09-27 17:31:12 +0200
committerJohannes Wienke2015-09-27 17:31:12 +0200
commit2d0d8ec6cab1629964e7030a0ffa8155a0ab76d8 (patch)
tree85540cca80c60d505f488fa8b7422cca191c55b6 /PKGBUILD
parenteab5bf299f4c701e7cd4923ab75e4a06b2322c72 (diff)
downloadaur-python-broadcast-logging-git.tar.gz
Use package versioning scheme
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 194a4418807..c1187da60de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Johannes Wienke <languitar@semipol.de>
pkgname=python-broadcast-logging-git
-pkgver=r3.16d0b34
+pkgver=0.2.dev0.g16d0b34
pkgrel=1
pkgdesc="A Python logging system handler which broadcasts log messages and a matching receiver executable."
arch=(any)
@@ -16,7 +16,7 @@ md5sums=('SKIP')
pkgver() {
cd "$pkgname"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ printf "%s.g%s" "$(python3 setup.py --version 2> /dev/null)" "$(git rev-parse --short HEAD)"
}
package() {