summaryrefslogtreecommitdiff
path: root/pcr/amsynth/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/amsynth/PKGBUILD')
-rw-r--r--pcr/amsynth/PKGBUILD26
1 files changed, 13 insertions, 13 deletions
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 <theguestone at gmail dot com>
+# Maintainer : Guest One <theguestone at gmail dot com>
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
}