Strip revision/git hash from version number in provides

Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
Christopher Arndt 2018-04-13 19:23:01 +02:00
parent 253cab3de1
commit 511c08671c
2 changed files with 4 additions and 6 deletions

View file

@ -1,8 +1,6 @@
# Generated by mksrcinfo v8
# Tue Jan 19 20:06:30 UTC 2016
pkgbase = lv2-git
pkgdesc = A standard for plugins and matching host applications, mainly targeted at audio processing and generation.
pkgver = 1.12.1.r1004.4f597a8
pkgver = 1.15.3.r1077.728196c
pkgrel = 1
url = http://lv2plug.in/
arch = i686
@ -15,7 +13,7 @@ pkgbase = lv2-git
optdepends = libsndfile: example sampler plugin
optdepends = gtk2: example scope plugin
optdepends = python: lv2specgen script
provides = lv2=1.12.1.r1004.4f597a8
provides = lv2=1.15.3
provides = lv2core
provides = lv2-svn
conflicts = lv2

View file

@ -3,7 +3,7 @@
_pkgname=lv2
pkgname="${_pkgname}-git"
pkgver=1.12.1.r1004.4f597a8
pkgver=1.15.3.r1077.728196c
pkgrel=1
pkgdesc="A standard for plugins and matching host applications, mainly targeted at audio processing and generation."
arch=('i686' 'x86_64')
@ -13,7 +13,7 @@ makedepends=('git' 'python' 'libsndfile' 'gtk2')
optdepends=('libsndfile: example sampler plugin'
'gtk2: example scope plugin'
'python: lv2specgen script')
provides=("${_pkgname}=${pkgver}" 'lv2core' "${_pkgname}-svn")
provides=("${_pkgname}=${pkgver//.r*/}" 'lv2core' "${_pkgname}-svn")
conflicts=("${_pkgname}" "${_pkgname}-svn")
replaces=('lv2core')
source=("${_pkgname}::git+http://lv2plug.in/git/cgit.cgi/lv2.git")