diff options
author | Dmytro Kostiuchenko | 2016-03-16 10:48:05 +0100 |
---|---|---|
committer | Dmytro Kostiuchenko | 2016-03-16 10:48:05 +0100 |
commit | f2f63026eb7647e8f652d3161c176069b5a3a9a9 (patch) | |
tree | dc3a0ad73b334e2c619b40120ea768c8216de409 /PKGBUILD | |
parent | 7c5936bc7052efdb05f6985aecec43e55fd9907e (diff) | |
download | aur-f2f63026eb7647e8f652d3161c176069b5a3a9a9.tar.gz |
Updated version()
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,12 +3,12 @@ _gitname=randrctl pkgname=$_gitname-git pkgdesc="Lightweight profile based screen manager for X" -pkgver=0 +pkgver=1.0.r0.b69e4ed pkgrel=1 arch=('any') url="http://github.com/edio/randrctl" license=('GPLv3') -makedepends=('git') +makedepends=('git' 'python-setuptools') depends=('python' 'xorg-xrandr') optdepends=('bash-completion') source=('git+https://github.com/edio/randrctl.git') @@ -19,7 +19,7 @@ install="randrctl.install" pkgver() { cd $_gitname - python setup.py --version | tail -n 1 + printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" } package() { |