summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-02-07 16:17:39 +0100
committerXZS2016-02-07 16:17:39 +0100
commitff637521db9151a57f6adf81a63c6e06e6c15317 (patch)
treef2c9b206d372d83126da32ef2e9ebf1dffac933a
parent3e5e1e9f8edcdda5bc01532783a7168dd003f691 (diff)
downloadaur-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--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ae5cc8cad37a..a8fd1af5a3c3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 25ec53fb8167..5409cf0f401a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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'