diff options
author | XZS | 2016-02-07 15:43:26 +0100 |
---|---|---|
committer | XZS | 2016-02-07 15:43:26 +0100 |
commit | 5171e0821ef1047e6c9cb6cca836e1f0f9496a43 (patch) | |
tree | 75002bd00c3e474aadb65c6422db4b7e95a2b196 | |
parent | 366364832f00dcbf727caf866c27ca18d6ad7832 (diff) | |
download | aur-5171e0821ef1047e6c9cb6cca836e1f0f9496a43.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-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Sun Feb 7 14:40:12 UTC 2016 +# Sun Feb 7 14:42:33 UTC 2016 pkgbase = abraca-git pkgdesc = A GTK3 client for the XMMS2 music player, with a focus on collections. Written in Vala pkgver = 0.8.2 @@ -15,7 +15,7 @@ pkgbase = abraca-git depends = gtk3 depends = libgee depends = xmms2 - provides = abraca + provides = abraca=0.8.2 conflicts = abraca source = https://github.com/Abraca/Abraca/pull/31.patch source = abraca::git+https://github.com/Abraca/Abraca @@ -21,8 +21,8 @@ md5sums=('c5457f441eb6cbf91ce8ea424bc46e38') 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' |