From e9dd04abd0ede1143ea4af10059e37c2f599e1fd Mon Sep 17 00:00:00 2001 From: root Date: Mon, 15 Oct 2012 00:36:27 -0700 Subject: Mon Oct 15 00:36:26 PDT 2012 --- community/calf/PKGBUILD | 38 +++++++++++++++++--------------------- community/calf/calf.install | 14 ++++++++++++++ 2 files changed, 31 insertions(+), 21 deletions(-) create mode 100644 community/calf/calf.install (limited to 'community/calf') diff --git a/community/calf/PKGBUILD b/community/calf/PKGBUILD index 078681e5a..87415eeea 100644 --- a/community/calf/PKGBUILD +++ b/community/calf/PKGBUILD @@ -1,35 +1,31 @@ -# Maintainer: Ray Rashif +# $Id: PKGBUILD 77743 2012-10-14 09:43:37Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: Ray Rashif pkgname=calf -pkgver=0.0.18.6 +pkgver=0.0.19 +_rc=8 pkgrel=1 -pkgdesc="LV2/DSSI/LADSPA plug-ins suite and standalone JACK host" -arch=('i686' 'x86_64') -url="http://calf.sf.net/" +pkgdesc='LV2/DSSI/LADSPA plug-ins suite and standalone JACK host' +arch=('x86_64' 'i686') +url='http://calf.sf.net/' license=('LGPL') -depends=('libglade' 'lash') +depends=('libglade' 'fftw' 'lash' 'dssi' 'fluidsynth' 'hicolor-icon-theme' 'desktop-file-utils') makedepends=('lv2core' 'ladspa' 'dssi') -source=("http://downloads.sf.net/$pkgname/$pkgname-$pkgver.tar.gz" - 'include_fix.patch') -md5sums=('780854561dad1cb873041d7a0b98cbcd' - '5aab4d057fb3646c43e6dfcad4c7128f') +source=("http://downloads.sf.net/$pkgname/$pkgname-$pkgver-rc$_rc.tar.gz") +install=calf.install +options=('!libtool') +sha256sums=('57cb536a24a7b9df890dc665fd75c2f4d307859e55f3b25015c73cdc726a56b5') build() { - cd "$srcdir/$pkgname-$pkgver" - - patch -Np1 -i "$srcdir/include_fix.patch" - - ./configure --prefix=/usr \ - --enable-experimental + cd $srcdir/$pkgname-$pkgver-rc$_rc + ./configure --prefix=/usr --enable-experimental --enable-sse make } package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir/" install - - rm "$pkgdir/usr/share/icons/hicolor/icon-theme.cache" + cd $srcdir/$pkgname-$pkgver-rc$_rc + make DESTDIR=$pkgdir install } # vim:set ts=2 sw=2 et: diff --git a/community/calf/calf.install b/community/calf/calf.install new file mode 100644 index 000000000..b83f56c72 --- /dev/null +++ b/community/calf/calf.install @@ -0,0 +1,14 @@ +post_install() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-desktop-database /usr/share/applications +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf