summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 86f62e04fa01b5f3bc232034114804cceb03ef31 (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
34
# Maintainer: CrocoDuck <crocoduck.oducks@gmail.com>
# Contributor : speps <speps at aur dot archlinux dot org>

pkgname=distrho-vst-git
pkgver=r336.7bcbc9b
pkgrel=2
pkgdesc="Distrho VST Audio Plugins, using the JUCE Toolkit"
arch=('i686' 'x86_64')
url="http://distrho.sourceforge.net/"
license=('GPL' 'LGPL')
depends=('freetype2' 'alsa-lib' 'libxext')
makedepends=('premake3' 'git' 'libxinerama' 'libxrender' 'libxcursor' 'steinberg-vst36')
provides=("${pkgname}")
conflicts=("${pkgname}" "distrho-vst" "distrho-plugins-vst-git")
source=("${pkgname}::git://github.com/DISTRHO/DISTRHO-Ports")
md5sums=('SKIP')

prepare() {
	mkdir -p "$pkgname"/sdks/vstsdk2.4/public.sdk/source
	ln -rsf /usr/include/vst36/ "$pkgname"/sdks/vstsdk2.4/public.sdk/source/vst2.x
	ln -rsf /usr/include/vst36/pluginterfaces/ "$pkgname"/sdks/vstsdk2.4/pluginterfaces
}

build() {
	cd "$pkgname"
	./scripts/premake-update.sh linux
	make vst
}

package() {
	cd "$pkgname"
	install -d bin/vst/ "$pkgdir"/usr/lib/vst/
	cp -a bin/vst/. "$pkgdir"/usr/lib/vst/
}