diff options
Diffstat (limited to 'pcr/amsynth')
-rw-r--r-- | pcr/amsynth/PKGBUILD | 29 | ||||
-rw-r--r-- | pcr/amsynth/amsynth.install | 11 |
2 files changed, 25 insertions, 15 deletions
diff --git a/pcr/amsynth/PKGBUILD b/pcr/amsynth/PKGBUILD index 58c097cf4..7142d6c9f 100644 --- a/pcr/amsynth/PKGBUILD +++ b/pcr/amsynth/PKGBUILD @@ -1,26 +1,25 @@ -# Mantainer: Guest One <theguestone at gmail dot com> +# Maintainer : Guest One <theguestone at gmail dot com> pkgname=amsynth -pkgver=1.3.2 +pkgver=1.4.0 pkgrel=1 pkgdesc="Analogue Modeling SYNTHesizer" -arch=('i686') -url="http://code.google.com/p/amsynth/" +arch=('i686' 'x86_64') +url="http://code.google.com/p/$pkgname/" license=('GPL') -depends=('gtkmm' 'jack') -source=(http://amsynth.googlecode.com/files/amSynth-${pkgver}.tar.gz) -md5sums=('991329e433bb8c496f9ca5158faf0bca') +depends=('gtkmm' 'jack' 'liblo' 'ladspa') +makedepends=('desktop-file-utils' 'dssi' 'libtool') +install="$pkgname.install" +source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz") +md5sums=('9193d334c89996cf44e98422e03318bb') build() { - cd ${srcdir}/amSynth-${pkgver} - - sed -i -e 's|/amSynth|/amsynth|' src/main.cc - - autoreconf --force --install + cd "$srcdir/$pkgname-$pkgver" ./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/$pkgname-$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 +} |