summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuest One <theguestone@gmail.com>2013-05-26 21:48:53 +0200
committerGuest One <theguestone@gmail.com>2013-05-26 21:48:53 +0200
commit78abaa1f7922c6bc38e65426ae84308035429fa3 (patch)
tree4c0e493556f5e29c62cb252d724e6f839c8a0257
parenta33463e57d169f83b9819abeb0a0316316359f79 (diff)
downloadabslibre-78abaa1f7922c6bc38e65426ae84308035429fa3.tar.gz
abslibre-78abaa1f7922c6bc38e65426ae84308035429fa3.tar.bz2
abslibre-78abaa1f7922c6bc38e65426ae84308035429fa3.zip
updated amsynth to 1.3.2-2, fixed PKGBUILD
-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
+}