core/sratom/PKGBUILD

32 lines
694 B
Bash
Raw Normal View History

2013-04-28 19:41:45 +08:00
pkgname=sratom
2015-01-09 07:46:55 +08:00
pkgver=0.4.6
2013-04-28 19:41:45 +08:00
pkgrel=1
pkgdesc="An LV2 Atom RDF serialisation library"
2015-01-09 07:46:55 +08:00
arch=('x86_64')
2013-04-28 19:41:45 +08:00
url="http://drobilla.net/software/sratom/"
license=('custom:ISC')
2015-01-09 07:46:55 +08:00
depends=('lv2>=1.8.1' 'sord>=0.12.2')
2013-04-28 19:41:45 +08:00
makedepends=('python2')
source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
2015-01-09 07:46:55 +08:00
md5sums=('5cf28520418779bf41fb14a40fbb20ad')
2013-04-28 19:41:45 +08:00
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"
}