summaryrefslogtreecommitdiff
path: root/pcr/helm/PKGBUILD
blob: 3d56347ae093867bd17955ed9573aa9157fe1529 (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
28
29
30
31
32
33
# Maintainer: André Silva <emulatorman@hyperbola.info>

pkgname=helm
pkgver=0.4.1
pkgrel=1
pkgdesc="A cross-platform, polyphonic synthesizer LV2 and VST plugin"
arch=('i686' 'x86_64')
url="http://tytel.org/helm/"
license=('GPL')
groups=('lv2-plugins' 'vst-plugins')
depends=('alsa-lib' 'mesa' 'mesa-libgl' 'lv2' 'freetype2' 'jack' 'libxrandr' 'libxinerama' 'libxcursor')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mtytel/helm/archive/v${pkgver}.tar.gz"
        'http://www.steinberg.net/sdk_downloads/vstsdk360_22_11_2013_build_100.zip')
md5sums=('ffc3657235f1d97f9634a309281d9ec9'
         '1ac422ebb4aa2e86061278412c347b55')

prepare() {
  cd "$srcdir/${pkgname}-${pkgver}/builds/linux/VST"
  sed -i -e "s|-I ~/srcs/VST3\\\\ SDK|-I $srcdir/VST3\\\\ SDK|" Makefile
}

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make PREFIX="/usr" all vst
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="$pkgdir" install
  install -D builds/linux/VST/build/helm.so "$pkgdir/usr/lib/vst/helm.so"
}