updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / patchage-svn / PKGBUILD
blob012761f22f90b9d4075a14c7736c0d10441e1a19
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 _pkg=patchage
4 pkgname=$_pkg-svn
5 pkgver=3852
6 pkgrel=1
7 pkgdesc="A modular patch bay for audio and MIDI systems."
8 arch=(i686 x86_64)
9 url="http://drobilla.net/software/$_pkg/"
10 license=('GPL')
11 depends=('ganv' 'jack' 'dbus-glib' 'hicolor-icon-theme')
12 makedepends=('subversion' 'python2' 'boost')
13 install=("$pkgname.install")
14 provides=("$_pkg=0.6.0")
15 conflicts=("$_pkg")
17 _svntrunk=http://svn.drobilla.net/lad/trunk/$_pkg
18 _svnmod=$_pkg
20 build() {
21   cd "$srcdir"
23   if [ -d $_svnmod/.svn ]; then
24     (cd $_svnmod && svn up -r $pkgver)
25   else
26     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27   fi
29   msg "SVN checkout done or server timeout"
30   msg "Starting make..."
32   rm -rf "$srcdir/$_svnmod-build"
33   cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
34   cd "$srcdir/$_svnmod-build"
36   #
37   # BUILD
38   #
40   # remove ldconfig
41   sed -i "/ldconfig/d" wscript
43   python2 waf configure --prefix=/usr \
44                         --mandir=/usr/share/man
45   python2 waf
48 package() {
49   cd "$srcdir/$_svnmod-build"
51   DESTDIR="$pkgdir/" python2 waf install