From 78abaa1f7922c6bc38e65426ae84308035429fa3 Mon Sep 17 00:00:00 2001 From: Guest One Date: Sun, 26 May 2013 21:48:53 +0200 Subject: updated amsynth to 1.3.2-2, fixed PKGBUILD --- pcr/amsynth/PKGBUILD | 26 +++++++++++++------------- pcr/amsynth/amsynth.install | 11 +++++++++++ 2 files changed, 24 insertions(+), 13 deletions(-) create mode 100644 pcr/amsynth/amsynth.install diff --git a/pcr/amsynth/PKGBUILD b/pcr/amsynth/PKGBUILD index 58c097cf4..1cd3cccf6 100644 --- a/pcr/amsynth/PKGBUILD +++ b/pcr/amsynth/PKGBUILD @@ -1,26 +1,26 @@ -# Mantainer: Guest One +# Maintainer : Guest One pkgname=amsynth pkgver=1.3.2 -pkgrel=1 +pkgrel=2 pkgdesc="Analogue Modeling SYNTHesizer" -arch=('i686') +arch=('i686' 'x86_64') url="http://code.google.com/p/amsynth/" license=('GPL') -depends=('gtkmm' 'jack') -source=(http://amsynth.googlecode.com/files/amSynth-${pkgver}.tar.gz) +depends=('gtkmm' 'jack' 'liblo') +makedepends=('desktop-file-utils' 'dssi' 'libtool' 'ladspa') +install="$pkgname.install" +source=("http://amsynth.googlecode.com/files/amSynth-$pkgver.tar.gz") md5sums=('991329e433bb8c496f9ca5158faf0bca') build() { - cd ${srcdir}/amSynth-${pkgver} - - sed -i -e 's|/amSynth|/amsynth|' src/main.cc - - autoreconf --force --install + cd "$srcdir/amSynth-$pkgver" + libtoolize ./configure --prefix=/usr make +} - install -Dm755 src/amSynth ${pkgdir}/usr/bin/amSynth - mkdir -p ${pkgdir}/usr/share/${pkgname} - install -m644 skel/{Controllersrc,presets} ${pkgdir}/usr/share/${pkgname}/ +package() { + cd "$srcdir/amSynth-$pkgver" + make DESTDIR="$pkgdir/" install } diff --git a/pcr/amsynth/amsynth.install b/pcr/amsynth/amsynth.install new file mode 100644 index 000000000..e111ef946 --- /dev/null +++ b/pcr/amsynth/amsynth.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3