summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorXZS2016-02-07 16:31:03 +0100
committerXZS2016-02-07 16:31:03 +0100
commit7885bb6849b3cfbe45929fa7b458f70a5c3595ee (patch)
treebfbe524fe2dc7027149537a61972b3f64cf6a3ac /PKGBUILD
parent4924d806fd036e92f161fb4944490100b891ac44 (diff)
downloadaur-7885bb6849b3cfbe45929fa7b458f70a5c3595ee.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 89b54ffa0e7e..25974d47347d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,8 +15,8 @@ optdepends=(firefox thunderbird)
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() {