summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5b8ad1a2e1f0d26a5a3b6a412f943141f6bc1103 (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
pkgname=harrison-xt-lv2
pkgver=7.2.0
pkgrel=2
pkgdesc="Harrison Consoles LV2 XT Plugin Suite"
arch=('x86_64')
url="https://harrisonconsoles.com/mixbus-plugins/"
license=('EULA')
groups=('lv2-plugins' 'pro-audio')
depends=('glibc' 'libcurl-gnutls')
makedepends=('xdg-user-dirs' 'unzip')

## Variables
_archive="`xdg-user-dir DOWNLOAD`/Mixbus-${pkgver}-Linux-64bit-gcc5"
_installer="Mixbus-${pkgver}-x86_64-gcc5"
_app="Mixbus_x86_64-$pkgver"

prepare () {
	## Extract Harrison Plugins Archive
	ln -srf ${_archive}.tar "$srcdir/`basename ${_archive}`.tar"
	tar -xvf "$srcdir/`basename ${_archive}`.tar"
	sh "$srcdir/`basename ${_installer}`.run" --tar xvf
	tar -xvf "$srcdir/`basename ${_app}`.tar"
}

package() {
	## Install LV2 Plugins
	mkdir -p $pkgdir/usr/lib/lv2/
	cp -r "$srcdir/`basename ${_app}`/lib/LV2/Harrison.lv2" $pkgdir/usr/lib/lv2/
}