diff options
author | XZS | 2016-02-07 16:14:10 +0100 |
---|---|---|
committer | XZS | 2016-02-07 16:14:10 +0100 |
commit | fb24cd1450cdb620c35d1ec5e4fa4f8ee0880ab3 (patch) | |
tree | 9121112427ee1deb57acde0c429313a740680534 | |
parent | 61776f36fe09c829e20bf60e7be9255aa9910c2c (diff) | |
download | aur-fb24cd1450cdb620c35d1ec5e4fa4f8ee0880ab3.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 -# Sun Dec 6 00:40:32 UTC 2015 +# Sun Feb 7 15:13:36 UTC 2016 pkgbase = gnome-shell-extension-wintitle-git pkgdesc = Shows the title of window when scrolled on the appMenu button. pkgver = r17 @@ -10,7 +10,7 @@ pkgbase = gnome-shell-extension-wintitle-git license = GPLv2 makedepends = git depends = gnome-shell - provides = gnome-shell-extension-wintitle + provides = gnome-shell-extension-wintitle=r17 conflicts = gnome-shell-extension-wintitle source = gnome-shell-extension-wintitle::git+https://github.com/dffischer/wintitle md5sums = SKIP @@ -14,8 +14,8 @@ install=notice.install 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' |