blob: 425eb244b35388a303b226e3325ca3e7d740f2f9 (
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
39
40
41
42
43
44
45
46
|
pkgname=blacksun-vst
pkgver=2.0.0
pkgrel=4
pkgdesc="An Extremely Versatile Amp (VST Plugin)"
arch=('x86_64')
url="https://audioassault.mx/products/blacksun"
license=('EULA')
groups=('pro-audio' 'vst-plugins')
depends=('libcurl-gnutls' 'glibc')
makedepends=('xdg-user-dirs' 'unzip')
prepare () {
## Extract AIR Impulse Response
_archive="`xdg-user-dir DOWNLOAD`/Blacksun+Installers+v1.zip"
_80sPack="`xdg-user-dir DOWNLOAD`/80's Hard Rock.zip"
_BasSic="`xdg-user-dir DOWNLOAD`/BasSick Tones.zip"
_EMP="`xdg-user-dir DOWNLOAD`/Extreme Metal Presets.zip"
ln -srf "${_archive}" "$srcdir/`basename "${_archive}"`"
ln -srf "${_80sPack}" "$srcdir/`basename "${_80sPack}"`"
ln -srf "${_BasSic}" "$srcdir/`basename "${_BasSic}"`"
ln -srf "${_EMP}" "$srcdir/`basename "${_EMP}"`"
unzip "$srcdir/`basename "${_archive}"`"
unzip "$srcdir/`basename "${_80sPack}"`"
unzip "$srcdir/`basename "${_BasSic}"`"
unzip "$srcdir/`basename "${_EMP}"`"
find $srcdir -name ".DS_Store" -delete
}
package() {
## Install Preset and Default Libraries
mkdir -p "$pkgdir/opt/Audio Assault/Blacksun"
cp -rf $srcdir/Blacksun\ Linux/Blacksun/{IRs,Presets} "$pkgdir/opt/Audio Assault/Blacksun"
cp -rf $srcdir/BStarA412\ FREE\ IR\ PACK/* "$pkgdir/opt/Audio Assault/Blacksun/IRs"
if [ -d "$srcdir/80's Hard Rock" ]; then
cp -rf $srcdir/80\'s\ Hard\ Rock/*.preset "$pkgdir/opt/Audio Assault/Blacksun/Presets"
fi
if [ -d "$srcdir/BasSick Tones" ]; then
cp -rf $srcdir/BasSick\ Tones/*.preset "$pkgdir/opt/Audio Assault/Blacksun/Presets"
fi
if [ -d "$srcdir/Extreme Metal" ]; then
cp -rf $srcdir/Extreme\ Metal/*.preset "$pkgdir/opt/Audio Assault/Blacksun/Presets"
fi
## Install VST Plugin
install -Dm755 "$srcdir/Blacksun Linux/Blacksunvst2.so" "$pkgdir/usr/lib/vst/Blacksunvst2.so"
}
|