diff options
author | Thomas Simatic | 2020-12-19 15:17:31 +0100 |
---|---|---|
committer | Thomas Simatic | 2020-12-19 15:17:31 +0100 |
commit | 76050dca77c9f83d67958a66faa5e7e9c5419a96 (patch) | |
tree | 894b1e168462b32305dab5aa35e22989928eac4b | |
parent | 758a66b3a5aa233c67049752ce82e19b40c1ae2a (diff) | |
download | aur-76050dca77c9f83d67958a66faa5e7e9c5419a96.tar.gz |
now use git tag for package versions
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 6 deletions
@@ -1,12 +1,13 @@ pkgbase = i3-scratchpad-git pkgdesc = The Swiss Army Knife of floating i3 windows - pkgver = 9 - pkgrel = 2 + pkgver = 1.1 + pkgrel = 3 arch = any license = Unlicense depends = i3-wm depends = wmctrl depends = bash + depends = xdotool optdepends = rxvt-unicode: for terminal programs support source = git+https://gitlab.com/aquator/i3-scratchpad.git md5sums = SKIP @@ -1,11 +1,11 @@ # Maintainer: Thomas Simatic <thomas.sim@mailo.com> pkgname="i3-scratchpad-git" -pkgver=9 -pkgrel=2 +pkgver=1.1 +pkgrel=3 pkgdesc="The Swiss Army Knife of floating i3 windows" arch=(any) license=('Unlicense') -depends=(i3-wm wmctrl bash) +depends=(i3-wm wmctrl bash xdotool) optdepends=('rxvt-unicode: for terminal programs support') source=("git+https://gitlab.com/aquator/i3-scratchpad.git") @@ -13,7 +13,7 @@ md5sums=(SKIP) pkgver() { cd ${pkgname%-git} - git rev-list --all --count + git describe --tags | sed "s+-+.r+" | tr - . } package() { |