[arch-commits] Commit in fluidsynth/trunk (PKGBUILD)

Ray Rashif schiv at archlinux.org
Wed Sep 22 08:56:17 UTC 2010


    Date: Wednesday, September 22, 2010 @ 04:56:16
  Author: schiv
Revision: 91076

upgpkg: fluidsynth 1.1.1 -> 1.1.2

Modified:
  fluidsynth/trunk/PKGBUILD

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++------------------
 1 file changed, 26 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-09-22 05:10:09 UTC (rev 91075)
+++ PKGBUILD	2010-09-22 08:56:16 UTC (rev 91076)
@@ -1,35 +1,43 @@
 # $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
 # Contributor: damir <damir at archlinux.org>
 
 pkgname=fluidsynth
-pkgver=1.1.1
-pkgrel=2
+pkgver=1.1.2
+pkgrel=1
 pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
-arch=("i686" "x86_64")
+arch=(i686 x86_64)
 url="http://www.fluidsynth.org/"
-depends=('glib2' 'jack' 'ladspa')
-options=('!libtool')
+depends=('glib2' 'jack' 'dbus-core' 'bash')
+makedepends=('cmake' 'ladspa' 'doxygen')
 license=('LGPL')
 backup=('etc/conf.d/fluidsynth')
-source=("http://savannah.nongnu.org/download/fluid/$pkgname-$pkgver.tar.gz"
-	'fluidsynth.conf' 'fluidsynthd')
-md5sums=('0db3da78028d255026230809c6e21b44'
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+        fluidsynth.conf
+        fluidsynthd)
+md5sums=('7c95f68d9c9b7f54fa64459eb7850680'
          '16c5f4d4cbdddc6c5fcbd4fd4cc142f1'
          'b296dbfb524c2164f552f68bd9abe2ec')
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr \
-    --enable-ladspa || return 1
-  make || return 1
+  cd "$srcdir/$pkgname-$pkgver"
+
+  cmake . -DCMAKE_INSTALL_PREFIX=/usr \
+          -DCMAKE_BUILD_TYPE=Release \
+          -Denable-ladspa=ON
+  make
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
+  cd "$srcdir/$pkgname-$pkgver"
 
-  make prefix=$pkgdir/usr install
-  install -Dm644 ${srcdir}/fluidsynth.conf \
-    ${pkgdir}/etc/conf.d/fluidsynth
-  install -Dm755 ${srcdir}/fluidsynthd \
-    ${pkgdir}/etc/rc.d/fluidsynth
+  make DESTDIR="$pkgdir/" install
+
+  install -Dm644 "$srcdir/fluidsynth.conf" \
+    "$pkgdir/etc/conf.d/fluidsynth"
+
+  install -Dm755 "$srcdir/fluidsynthd" \
+    "$pkgdir/etc/rc.d/fluidsynth"
 }
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list