diff options
Diffstat (limited to 'pcr/ams/PKGBUILD')
-rw-r--r-- | pcr/ams/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pcr/ams/PKGBUILD b/pcr/ams/PKGBUILD new file mode 100644 index 000000000..75a5062a7 --- /dev/null +++ b/pcr/ams/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer : Guest One <theguestone at gmail dot com> + +_name=alsamodular +pkgname=ams +pkgver=2.0.1 +pkgrel=1 +pkgdesc="Alsa Modular Synth is a realtime modular synthesizer and effect processor" +arch=('i686') +url="http://alsamodular.sourceforge.net/" +license=('GPL') +depends=('qt4' 'clalsadrv' 'ladspa' 'jack') +makedepends=('fftw') +optdepends=('swh-plugins: Steve Harris plugins' + 'cmt: Computer Music Toolkit plugins') +install="$pkgname.install" +source=("http://downloads.sourceforge.net/project/$_name/$_name/$pkgver/$pkgname-$pkgver.tar.bz2" + "$pkgname.desktop" "$pkgname.png") +md5sums=('0d41bd5aac066aa98be45fd7ab12d35f' + 'ffa277cffd52254f0297cbc2f200767e' + '0349171d5431f1c6e56085f080eb8c68') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # DSO link flag + export LIBS=" -ldl" + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR=$pkgdir/ install + + # desktop file + install -Dm644 ../$pkgname.desktop \ + "$pkgdir/usr/share/applications/$pkgname.desktop" + + # icon + install -Dm644 ../$pkgname.png \ + "$pkgdir/usr/share/pixmaps/$pkgname.png" +} |