diff options
author | XZS | 2016-02-07 16:17:39 +0100 |
---|---|---|
committer | XZS | 2016-02-07 16:17:39 +0100 |
commit | ff637521db9151a57f6adf81a63c6e06e6c15317 (patch) | |
tree | f2c9b206d372d83126da32ef2e9ebf1dffac933a | |
parent | 3e5e1e9f8edcdda5bc01532783a7168dd003f691 (diff) | |
download | aur-ff637521db9151a57f6adf81a63c6e06e6c15317.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:43:10 UTC 2015 +# Sun Feb 7 15:17:22 UTC 2016 pkgbase = gnome-shell-extension-coverflow-alt-tab-git pkgdesc = Replacement of Alt-Tab, iterates through windows in a cover-flow manner pkgver = 1.1 @@ -10,7 +10,7 @@ pkgbase = gnome-shell-extension-coverflow-alt-tab-git license = GPL makedepends = git depends = gnome-shell - provides = gnome-shell-extension-coverflow-alt-tab + provides = gnome-shell-extension-coverflow-alt-tab=1.1 conflicts = gnome-shell-extension-coverflow-alt-tab source = gnome-shell-extension-coverflow-alt-tab::git+https://github.com/dmo60/CoverflowAltTab md5sums = SKIP @@ -15,8 +15,8 @@ license=('GPL') 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' |