core/fluidsynth/PKGBUILD
Michael HÃaesel ddcf6408d0 soundstack
2012-08-29 07:31:09 +00:00

46 lines
1.2 KiB
Bash

#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=fluidsynth
pkgver=1.1.6
pkgrel=1
pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
arch=("i686" "x86_64")
url="http://www.fluidsynth.org/"
depends=('glib2' 'jack' 'dbus-core' 'libpulse')
makedepends=('cmake' 'ladspa' 'doxygen')
optdepends=('pulseaudio'
'bash: init script')
license=('LGPL')
backup=('etc/conf.d/fluidsynth')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
'fluidsynth.conf' 'fluidsynthd')
md5sums=('ae5aca6de824b4173667cbd3a310b263'
'16c5f4d4cbdddc6c5fcbd4fd4cc142f1'
'b296dbfb524c2164f552f68bd9abe2ec')
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-Denable-ladspa=ON \
-DLIB_SUFFIX=""
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -Dm644 "$srcdir/fluidsynth.conf" \
"$pkgdir/etc/conf.d/fluidsynth"
install -Dm755 "$srcdir/fluidsynthd" \
"$pkgdir/etc/rc.d/fluidsynth"
}