mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
32 lines
700 B
Bash
32 lines
700 B
Bash
|
pkgname=suil
|
||
|
pkgver=0.8.2
|
||
|
pkgrel=2
|
||
|
pkgdesc="A lightweight C library for loading and wrapping LV2 plugin UIs"
|
||
|
arch=('x86_64')
|
||
|
url="http://drobilla.net/software/suil/"
|
||
|
license=('custom:ISC')
|
||
|
depends=('lv2' 'qt4')
|
||
|
makedepends=('python2')
|
||
|
source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
|
||
|
md5sums=('1b06947b1fc028f9ffcbc16d30065aa5')
|
||
|
|
||
|
build() {
|
||
|
cd "$srcdir/$pkgname-$pkgver"
|
||
|
|
||
|
# remove ldconfig --speps
|
||
|
sed -i "/ldconfig/d" wscript
|
||
|
|
||
|
python2 waf configure --prefix=/usr
|
||
|
python2 waf build $MAKEFLAGS
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "$srcdir/$pkgname-$pkgver"
|
||
|
|
||
|
python2 waf install --destdir="$pkgdir"
|
||
|
|
||
|
# license
|
||
|
install -Dm644 COPYING \
|
||
|
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||
|
}
|