6695146c16
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
|
|
# Contributor: speps <speps at aur dot archlinux dot org>
|
|
|
|
_pkgname=lv2
|
|
pkgname="${_pkgname}-git"
|
|
pkgver=1.16.0.r1120.0fa4d48
|
|
pkgrel=1
|
|
pkgdesc="A standard for plugins and matching host applications, mainly targeted at audio processing and generation."
|
|
arch=('i686' 'x86_64')
|
|
url="http://lv2plug.in/"
|
|
license=('custom:ISC')
|
|
makedepends=('git' 'python2' 'libsndfile' 'gtk2')
|
|
optdepends=('libsndfile: example sampler plugin'
|
|
'gtk2: example scope plugin'
|
|
'python: lv2specgen script')
|
|
provides=("${_pkgname}" "${_pkgname}=${pkgver//.r*/}" 'lv2core' "${_pkgname}-svn")
|
|
conflicts=("${_pkgname}" "${_pkgname}-svn")
|
|
replaces=('lv2core')
|
|
source=("${_pkgname}::git+http://lv2plug.in/git/lv2.git")
|
|
md5sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd "${srcdir}/${_pkgname}"
|
|
|
|
echo $(awk -F "'" '/^VERSION/{print $2}' wscript).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/${_pkgname}"
|
|
|
|
python2 waf configure --prefix=/usr
|
|
python2 waf build $MAKEFLAGS
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_pkgname}"
|
|
|
|
python2 waf install --destdir="$pkgdir"
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|