summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0f847147124dd43864443af1cfe35aa3c4a5d9fb (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
27
# Maintainer:  Martin C. Doege <mdoege at compuserve dot com>
# Contributor: Sean Bolton <sean at smbolton dot com>

pkgname=whysynth
pkgver=20170701
pkgrel=2
pkgdesc="A versatile softsynth plugin for the DSSI Soft Synth Interface"
url="http://www.smbolton.com/whysynth.html"
depends=('alsa-lib' 'liblo' 'gtk2' 'fftw')
makedepends=('dssi' 'ladspa')
conflicts=('whysynth-git')
license=('GPL')
source=(http://www.smbolton.com/whysynth/${pkgname}-${pkgver}.tar.bz2)
md5sums=('217bfeea23545c12cd0a1bc93de6ed0f')
arch=('i686' 'x86_64')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr || return 1
  make || return 1
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR=${pkgdir} install || return 1
  find ${pkgdir}/usr/lib -name '*.la' -exec rm {} \; || return 1
}