summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/amsynth/PKGBUILD26
-rw-r--r--pcr/amsynth/amsynth.install11
2 files changed, 24 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
}
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
+}