updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / amsynth / PKGBUILD
blob50583d8794ccdd2e21cd6d750c61cf78dad116fe
1 # Contributor: Alessio Biancalana <dottorblaster@gmail.com>
3 pkgname=amsynth
4 pkgver=1.3.0
5 pkgrel=1
6 pkgdesc="Analogue Modeling SYNTHesizer"
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/amsynth/"
9 license=('GPL')
10 depends=('gtkmm' 'jack')
11 source=(http://amsynth.googlecode.com/files/amSynth-${pkgver}.tar.gz)
12 md5sums=('2ce5ee9adda16badf3f4f2792001fb4d')
14 build() {
15   cd ${srcdir}/amSynth-${pkgver}
17   sed -i -e 's|/amSynth|/amsynth|' src/main.cc
19   ./configure --prefix=/usr
20   make
22   install -Dm755 src/amSynth ${pkgdir}/usr/bin/amSynth
23   mkdir -p ${pkgdir}/usr/share/${pkgname}
24   install -m644 skel/{Controllersrc,presets} ${pkgdir}/usr/share/${pkgname}/