summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1d4c0cab62185a09985d30a0fb7118a060057ec7 (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
35
36
37
38
# Maintainer: Gimmeapill <gimmeapill at gmail dot com>

pkgname=guitarix.vst-git
pkgver=Latest.r0.gcf94bd3
pkgrel=1
pkgdesc="virtual versatile amplification for Jack/Linux - vst3 wrapper"
arch=('x86_64')
url="https://github.com/brummer10/guitarix.vst"
license=('GPL3')
groups=('vst-plugins' 'pro-audio')
#depends=('liblrdf' 'libsndfile' 'lilv' 'boost-libs' 'fftw' 'freetype2' 'glibmm' 'avahi')
depends=('libsndfile' 'lilv' 'fftw' 'freetype2' 'glibmm' 'avahi')
#makedepends=('git' 'boost' 'eigen' 'gperf' 'intltool' 'ladspa' 'lv2' 'waf' 'sassc' 'pkgconfig' 'webkit2gtk' 'glib2')
makedepends=('git' 'boost' 'eigen' 'gperf' 'intltool' 'lv2' 'waf' 'sassc' 'pkgconfig' 'webkit2gtk')
optdepends=(
  'vst3-host: for VST3 plugins'
  'gxplugins.lv2: for Guitarix LV2 plugins'
)
provides=('guitarix.vst')
source=("${pkgname%-*}::git+https://github.com/brummer10/guitarix.vst")
md5sums=('SKIP')

pkgver() {
  cd "${pkgname%-*}"
  git describe --long --tags | sed -r 's/^V//;s/([^-]*-g)/r\1/;s/-/./g'
}

build() {
	cd "$srcdir/${pkgname%-*}"
	git submodule init
	git submodule update
	make
}

package() {
	cd "$srcdir/${pkgname%-*}"
	make JUCE_VST3DESTDIR="$pkgdir/usr/lib/vst3/" install
}