summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c711087da4aefdaf03c31636b7bf8807b11588ad (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.g6bd494c
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=('guitarix' 'jack' 'liblrdf' 'libsndfile' 'lilv' 'boost-libs')
depends=('liblrdf' 'libsndfile' 'lilv' 'boost-libs' 'fftw' 'freetype2' 'glibmm' 'avahi')
#makedepends=('git' 'boost' 'eigen' 'gperf' 'intltool' 'ladspa' 'lv2' 'waf' 'sassc' 'pkgconfig' 'webkit2gtk' 'debugedit')
makedepends=('git' 'boost' 'eigen' 'gperf' 'intltool' 'ladspa' 'lv2' 'waf' 'sassc' 'pkgconfig' 'webkit2gtk' 'debugedit' 'glib2')
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
}