core/fluidsynth/PKGBUILD

43 lines
1.1 KiB
Bash
Raw Normal View History

2011-08-05 06:46:45 +08:00
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dot]org>
2010-03-14 23:48:48 +08:00
pkgname=fluidsynth
2012-08-29 15:31:09 +08:00
pkgver=1.1.6
pkgrel=2
2010-03-14 23:48:48 +08:00
pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
arch=('x86_64')
2010-03-14 23:48:48 +08:00
url="http://www.fluidsynth.org/"
depends=('glib2' 'jack' 'dbus-core' 'pulseaudio')
2011-08-05 06:46:45 +08:00
makedepends=('cmake' 'ladspa' 'doxygen')
2010-03-14 23:48:48 +08:00
license=('LGPL')
backup=('etc/conf.d/fluidsynth')
2011-08-05 06:46:45 +08:00
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
'fluidsynth.conf' 'fluidsynth.service')
2012-08-29 15:31:09 +08:00
md5sums=('ae5aca6de824b4173667cbd3a310b263'
2010-03-14 23:48:48 +08:00
'16c5f4d4cbdddc6c5fcbd4fd4cc142f1'
'e0406748a154409907df62292be32e8a')
2010-03-14 23:48:48 +08:00
build() {
2011-08-05 06:46:45 +08:00
cd "$srcdir/$pkgname-$pkgver"
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-Denable-ladspa=ON \
-DLIB_SUFFIX=""
make
2010-03-14 23:48:48 +08:00
}
package() {
2011-08-05 06:46:45 +08:00
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -Dm644 "$srcdir/fluidsynth.conf" \
"$pkgdir/etc/conf.d/fluidsynth"
2010-03-14 23:48:48 +08:00
install -Dm644 "$srcdir/fluidsynth.service" \
"$pkgdir/usr/lib/systemd/system/fluidsynth.service"
2010-03-14 23:48:48 +08:00
}