summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorXZS2016-02-07 16:31:13 +0100
committerXZS2016-02-07 16:31:13 +0100
commita0f0b956a7a1f1536794ab889cb062d0a49bd8df (patch)
treebaca8a8dbcb91b22cdb535407ce8c3faecc6a6e8 /PKGBUILD
parent3f63fc162440c809a6f846cfcd10dc7f6f9a2653 (diff)
downloadaur-a0f0b956a7a1f1536794ab889cb062d0a49bd8df.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.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a5b46b7830f..81b25e59b0c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,8 +20,8 @@ conflicts=({firefox,thunderbird}-gnome-keyring{,-git,-bin})
makedepends+=('git')
source+=("${_gitname:=${pkgname%-git}}::${_giturl:-git+$url}")
md5sums+=('SKIP')
-provides+=($_gitname)
-conflicts+=($_gitname)
+provides+=("$_gitname=$pkgver")
+conflicts+=("$_gitname")
# Move down repository content for easier access by following functions.
prepare() {