diff options
-rwxr-xr-x | .SRCINFO | 17 | ||||
-rwxr-xr-x | PKGBUILD | 33 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100755 index 000000000000..f6595104f810 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = amplex-vst-bin + pkgdesc = Amplex Guitar Amp (VST) + pkgver = 5.0 + pkgrel = 1 + url = https://nalexsoft.blogspot.com/2020/07/amplex-multiamp.html + arch = x86_64 + groups = pro-audio + groups = vst-plugins + license = EULA + depends = curl + depends = freetype2 + depends = libcurl-gnutls + depends = libglvnd + depends = glibc + optdepends = ttf-dejavu: proper font rendering + +pkgname = amplex-vst-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..d5b97c844d2b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +pkgname=amplex-vst-bin +pkgver=5.0 +pkgrel=1 +pkgdesc="Amplex Guitar Amp (VST)" +arch=('x86_64') +url="https://nalexsoft.blogspot.com/2020/07/amplex-multiamp.html" +license=('EULA') +groups=('pro-audio' 'vst-plugins') +depends=('curl' 'freetype2' "libcurl-gnutls" 'libglvnd' 'glibc') +optdepends=('ttf-dejavu: proper font rendering') + +prepare() { + cd "$srcdir" + + ## Amplex Guitar Amp + unzip "`xdg-user-dir DOWNLOAD`/Amplex_V${pkgver/./-}_VST_Linux_x64_Debian.zip" + + ## Presets Archive + unzip "`xdg-user-dir DOWNLOAD`/Amplex_Presets_V27.zip" +} + +package() { + ## Install Guitar Amp Plugin + install -Dm755 "$srcdir/Amplex_V${pkgver/./-}_VST_Linux_x64_Debian/Amplex_V${pkgver/./-}_x64_Debian.so" "$pkgdir/usr/lib/vst/Amplex-vst.so" + install -Dm755 "$srcdir/Amplex_V${pkgver/./-}_VST_Linux_x64_Debian/IRbis_V1-0_x64_Debian.so" "$pkgdir/usr/lib/vst/IRbis-vst.so" + + ## Install Guitar Amp Presets + cd "$srcdir/Amplex_Presets_V27" + rm '! Read About.txt' + for file in *.txt; do + install -Dm755 "$file" "$pkgdir/usr/share/amplex-presets/$file" + done +} |