mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 13:07:15 +08:00
40 lines
987 B
Bash
40 lines
987 B
Bash
|
pkgname=lilv
|
||
|
pkgver=0.14.4
|
||
|
pkgrel=1
|
||
|
pkgdesc="A library to make the use of LV2 plugins as simple as possible for
|
||
|
applications."
|
||
|
arch=('x86_64')
|
||
|
url="http://drobilla.net/software/$pkgname/"
|
||
|
license=('custom:ISC')
|
||
|
depends=('python2' 'sratom' 'jack')
|
||
|
makedepends=('swig')
|
||
|
optdepends=('bash-completion: auto-complete words')
|
||
|
source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
|
||
|
md5sums=('891595410eeb68322cf875286f96fccf')
|
||
|
|
||
|
build() {
|
||
|
cd "$srcdir/$pkgname-$pkgver"
|
||
|
|
||
|
export PYTHON="/usr/bin/python2"
|
||
|
|
||
|
# remove ldconfig
|
||
|
sed -i "/ldconfig/d" wscript
|
||
|
|
||
|
python2 ./waf configure --prefix=/usr \
|
||
|
--mandir=/usr/share/man \
|
||
|
--configdir=/etc \
|
||
|
--dyn-manifest \
|
||
|
--bindings
|
||
|
python2 ./waf
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "$srcdir/$pkgname-$pkgver"
|
||
|
DESTDIR="$pkgdir" python2 ./waf install
|
||
|
|
||
|
# license
|
||
|
install -Dm644 COPYING \
|
||
|
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||
|
}
|
||
|
|