diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-05-26 21:10:32 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-05-26 21:10:32 -0300 |
commit | 239b97eb94d436dfe0926215872493cb19935599 (patch) | |
tree | e9e09c03211fa0656384020889c49a92f01deef8 /pcr | |
parent | 8a6f03beef05cb23207709d06eae9f39dc9d890b (diff) | |
parent | 78abaa1f7922c6bc38e65426ae84308035429fa3 (diff) | |
download | abslibre-239b97eb94d436dfe0926215872493cb19935599.tar.gz abslibre-239b97eb94d436dfe0926215872493cb19935599.tar.bz2 abslibre-239b97eb94d436dfe0926215872493cb19935599.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/amsynth/PKGBUILD | 26 | ||||
-rw-r--r-- | pcr/amsynth/amsynth.install | 11 |
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 +} |