summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2016-02-07 16:17:11 +0100
committerXZS2016-02-07 16:17:11 +0100
commit851606bbc19f111d7df4b06294fceb0261e89e7b (patch)
tree5dba23877ba60327adc570fb89145e7311bcd58b
parent2870121972518607df36784c5489bb9138a26276 (diff)
downloadaur-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--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d46478491204..0e8f18452a3d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index c04271c1ddbb..0eda18c30ee2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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'