summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Wienke2015-09-27 17:23:05 +0200
committerJohannes Wienke2015-09-27 17:23:05 +0200
commite7bbe625a97c483b1bfac3be6d674d318a82452e (patch)
tree0211d85bd9e570f24eedef5e5374243d51cf905b
parent0673ef17c4852040767b5f869087ed5bb2b8ce83 (diff)
downloadaur-e7bbe625a97c483b1bfac3be6d674d318a82452e.tar.gz
Use project versioning scheme
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d00ec3baeae2..81f2ed447e0b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = i3-workspace-switch-git
pkgdesc = Utility to allow switching workspaces by their position on the output
- pkgver = r3.8859363
- pkgrel = 1
+ pkgver = r0.2.dev0.gcb7f6de
+ pkgrel = 2
url = https://github.com/languitar/i3-workspace-switch
arch = any
license = LGPL3
diff --git a/PKGBUILD b/PKGBUILD
index aa5e26ef24ef..3addf9db8941 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Johannes Wienke <languitar@semipol.de>
pkgname=i3-workspace-switch-git
-pkgver=r3.8859363
-pkgrel=1
+pkgver=r0.2.dev0.gcb7f6de
+pkgrel=2
pkgdesc="Utility to allow switching workspaces by their position on the output"
arch=(any)
url="https://github.com/languitar/i3-workspace-switch"
@@ -14,7 +14,7 @@ md5sums=('SKIP')
pkgver() {
cd "$pkgname"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ printf "r%s.g%s" "$(python3 setup.py --version 2> /dev/null)" "$(git rev-parse --short HEAD)"
}
package() {