summaryrefslogtreecommitdiff
path: root/pcr/amsynth/PKGBUILD
blob: 58c097cf4b56625132f757d902fe5cc52e30f7a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Mantainer: Guest One <theguestone at gmail dot com>

pkgname=amsynth
pkgver=1.3.2
pkgrel=1
pkgdesc="Analogue Modeling SYNTHesizer"
arch=('i686')
url="http://code.google.com/p/amsynth/"
license=('GPL')
depends=('gtkmm' 'jack')
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
  ./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}/
}