1 # $Id: PKGBUILD 102552 2010-12-08 07:09:52Z schiv $
2 # Contributor: Ray Rashif <schiv@archlinux.org>
3 # Contributor: damir <damir@archlinux.org>
4 # Contributor: Bernardo Barros <bernardobarros@gmail.com>
9 pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
11 url="http://www.fluidsynth.org/"
12 depends=('glib2' 'jack' 'dbus-core' 'libpulse')
13 makedepends=('cmake' 'ladspa' 'doxygen')
14 optdepends=('bash: init script')
16 provides=('fluidsynth')
17 conflicts=('fluidsynth')
18 backup=('etc/conf.d/fluidsynth')
19 source=(fluidsynth.conf
22 _svntrunk=https://fluidsynth.svn.sourceforge.net/svnroot/fluidsynth/trunk/fluidsynth
28 if [ -d $_svnmod/.svn ]; then
29 (cd $_svnmod && svn up -r $pkgver)
31 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
34 msg "SVN checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf "$srcdir/$_svnmod-build"
38 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
39 cd "$srcdir/$_svnmod-build"
41 cmake . -DCMAKE_INSTALL_PREFIX=/usr \
42 -DCMAKE_BUILD_TYPE=Release \
49 cd "$srcdir/$_svnmod-build"
51 make DESTDIR="$pkgdir/" install
53 install -Dm644 "$srcdir/fluidsynth.conf" \
54 "$pkgdir/etc/conf.d/fluidsynth"
56 install -Dm755 "$srcdir/fluidsynthd" \
57 "$pkgdir/etc/rc.d/fluidsynth"
60 md5sums=('16c5f4d4cbdddc6c5fcbd4fd4cc142f1'
61 'b296dbfb524c2164f552f68bd9abe2ec')