1 # Maintainer: albertid <aur at uberhax0r dot de>
6 pkgdesc="C++ library for loading SF2 files"
8 url="http://linuxsampler.org/"
11 makedepends=('svn' 'libtool' 'automake>=1.5' 'autoconf')
16 _svntrunk=https://svn.linuxsampler.org/svn/libsf2/trunk
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
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
40 libtoolize -c -f -i || return 1
43 autoheader || return 1
44 automake --add-missing || return 1
45 ./configure --prefix=/usr || return 1
50 cd "$srcdir/$_svnmod-build"
51 make DESTDIR=$pkgdir install || return 1