summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5cba3a36635d9d58197588c318d8b477c8200224 (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
pkgname=harrison-32c-plugins-bin
pkgver=20230526
pkgrel=1
pkgdesc="Harrison Consoles 32C Console VST Plugins"
url="https://harrisonconsoles.com/32c-plugins/"
arch=('x86_64')
license=('EULA')
depends=('glibc' 'libcurl-gnutls')
makedepends=('xdg-user-dirs' 'unzip')
groups=('pro-audio' 'vst-plugins')

## Variables
_archive="`xdg-user-dir DOWNLOAD`/Harrison-32C-Plugins-Linux-64bit.tar.gz"

prepare() {
	## Extract Harrison 32C Plugin Archive
	ln -srf ${_archive} "$srcdir/`basename ${_archive}`"
	tar -xvzf "$srcdir/`basename ${_archive}`"
}

package() {
	## Install VST
	mkdir -p "$pkgdir/usr/lib/vst"
	cp -r "$srcdir/Harrison_32C/vst/32C-Bus.so" "$pkgdir/usr/lib/vst/32C-Bus.so"
	cp -r "$srcdir/Harrison_32C/vst/32C-Channel.so" "$pkgdir/usr/lib/vst/32C-Channel.so"
	cp -r "$srcdir/Harrison_32C/vst/32C-VIP.so" "$pkgdir/usr/lib/vst/32C-VIP.so"
}