summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9e014d60ff191035bae273d24e07f7e410e4c609 (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=reamp-studio-vst
pkgver=1.1.0
pkgrel=2
pkgdesc="Reamp Studio Guitar Amplifier (VST Plugin)"
arch=('x86_64')
url="https://audio-assault.com/reampstudio.php"
license=('EULA')
groups=('pro-audio' 'vst-plugins')
depends=('libcurl-gnutls' 'glibc')
makedepends=('xdg-user-dirs' 'unzip')

prepare () {
	## Extract Duality Bass Studio
	_archive="`xdg-user-dir DOWNLOAD`/ReAmp Studio v1.1b.zip"
	ln -srf "${_archive}" "$srcdir/`basename "${_archive}"`"
	unzip "$srcdir/`basename "${_archive}"`"
	find $srcdir -name ".DS_Store" -delete
}

package() {
    ## Install Preset and Default Libraries
    mkdir -p "$pkgdir/opt/Audio Assault"
    cp -rf "$srcdir/ReAmp Studio v1.1b/Linux v1.1/ReAmp Studio Data" "$pkgdir/opt/Audio Assault/ReAmp Studio Data"

    ## Install VST Plugin
    install -Dm755 "$srcdir/ReAmp Studio v1.1b/Linux v1.1/ReAmp Studio.so" "$pkgdir/usr/lib/vst/ReAmp Studio.so"
}