diff options
author | XZS | 2016-02-07 16:17:11 +0100 |
---|---|---|
committer | XZS | 2016-02-07 16:17:11 +0100 |
commit | 851606bbc19f111d7df4b06294fceb0261e89e7b (patch) | |
tree | 5dba23877ba60327adc570fb89145e7311bcd58b | |
parent | 2870121972518607df36784c5489bb9138a26276 (diff) | |
download | aur-851606bbc19f111d7df4b06294fceb0261e89e7b.tar.gz |
version provided non-git variant
Other packages usually depend on the package without any -git suffix.
This makes it possible to als satisfy these dependency requirements when
they target specific versions or version ranges.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Tue Dec 8 13:43:46 UTC 2015 +# Sun Feb 7 15:17:00 UTC 2016 pkgbase = gnome-shell-extension-hidetopbar-git pkgdesc = Gnome 3 extension to hide the top bar except in overview mode pkgver = r151 @@ -10,7 +10,7 @@ pkgbase = gnome-shell-extension-hidetopbar-git license = GPLv2 makedepends = git depends = gnome-shell - provides = gnome-shell-extension-hidetopbar + provides = gnome-shell-extension-hidetopbar=r151 conflicts = gnome-shell-extension-hidetopbar source = gnome-shell-extension-hidetopbar::git+https://github.com/mlutfy/hidetopbar md5sums = SKIP @@ -13,8 +13,8 @@ license=(GPLv2) makedepends+=('git') source+=("${_gitname:=${pkgname%-git}}::${_giturl:-git+$url}") md5sums+=('SKIP') -provides+=($_gitname) -conflicts+=($_gitname) +provides+=("$_gitname=$pkgver") +conflicts+=("$_gitname") pkgver() { cd ${_gitname:-$pkgname} git describe --long --tags 2>/dev/null | sed 's/[^[:digit:]]*\(.\+\)-\([[:digit:]]\+\)-g\([[:xdigit:]]\{7\}\)/\1.r\2.g\3/;t;q1' |