summaryrefslogtreecommitdiff
path: root/community/sratom/PKGBUILD
blob: 8064fbdd70bc9e13f9199375508e06207d3b8f3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 72426 2012-06-14 07:59:39Z speps $
# Maintainer: speps <speps at aur dot archlinux dot org>

pkgname=sratom
pkgver=0.2.0
pkgrel=1
pkgdesc="An LV2 Atom RDF serialisation library"
arch=(i686 x86_64 mips64el)
url="http://drobilla.net/software/$pkgname/"
license=('custom:ISC')
depends=('lv2' 'sord')
makedepends=('python2')
source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
md5sums=('c03cf2849186818610ffe889be4f5b55')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  # remove ldconfig
  sed -i '/ldconfig/d' wscript

  python2 waf configure --prefix=/usr
  python2 waf
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  DESTDIR="$pkgdir/" python2 waf install

  # license
  install -Dm644 COPYING \
    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}