summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-02-07 16:17:21 +0100
committerXZS2016-02-07 16:17:21 +0100
commitf89763dafa133ca00a199be6c1d64899adc7cfd0 (patch)
tree63b1c16e6b438a74cd84c6aaf881cac1dea48b41
parentf8f5d82d088edb7df3d50845384233de019bd3ea (diff)
downloadaur-f89763dafa133ca00a199be6c1d64899adc7cfd0.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 787df67a3aa..b7ba073341b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Fri Feb 5 13:36:53 UTC 2016
+# Sun Feb 7 15:17:11 UTC 2016
pkgbase = gnome-shell-extension-dash-to-dock-git
pkgdesc = A gnome-shell extension that transforms the dash into an intellihide dock
pkgver = 50
@@ -12,7 +12,7 @@ pkgbase = gnome-shell-extension-dash-to-dock-git
makedepends = git
depends = dconf
depends = gnome-shell
- provides = gnome-shell-extension-dash-to-dock
+ provides = gnome-shell-extension-dash-to-dock=50
conflicts = gnome-shell-extension-dash-to-dock
source = gnome-shell-extension-dash-to-dock::git+https://github.com/micheleg/dash-to-dock/
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index ba81954cc8c..f58c8bbc4b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,8 +19,8 @@ makedepends=('intltool')
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'