summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristopher Arndt2020-08-25 00:42:52 +0200
committerChristopher Arndt2020-08-25 00:42:52 +0200
commitf950093aaac377dacffaffe766795f5f6cd81b25 (patch)
tree1233ce91dc54253ec00960bdc4c3ee953035b7e5 /PKGBUILD
parent91fae92901edb1f13e77db159c630534b3f77146 (diff)
downloadaur-bjumblr.lv2-git.tar.gz
Versioned provides
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0ba553e16f2..743e29eab26 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ _plugin_uri="https://www.jahnichen.de/plugins/lv2/${_name}"
pkgname="${_pkgname}-git"
pkgdesc="A pattern-controlled audio stream re-sequencer LV2 plugin (git version)"
pkgver=1.4.2.r0.gfd90fae
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url="https://github.com/sjaehn/${_name}"
license=('GPL3')
@@ -15,14 +15,14 @@ groups=('lv2-plugins' 'pro-audio')
depends=('cairo' 'gcc-libs' 'glibc' 'libsndfile' 'libx11')
makedepends=('git' 'lv2')
checkdepends=('lv2lint')
-provides=("${_name,,}" "${_pkgname}")
+provides=("${_name,,}" "${_name,,}=${pkgver//.r*/}" "${_pkgname}" "${_pkgname}=${pkgver//.r*/}")
conflicts=("${_name,,}" "${_pkgname}")
source=("${_pkgname}::git+https://github.com/sjaehn/${_name}")
md5sums=('SKIP')
pkgver() {
- cd "$_pkgname"
+ cd "${srcdir}/$_pkgname"
( set -o pipefail
git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
@@ -30,7 +30,7 @@ pkgver() {
}
build() {
- cd "$_pkgname"
+ cd "${srcdir}/$_pkgname"
make
}