diff options
author | usrmusicman | 2021-12-20 16:26:50 -0500 |
---|---|---|
committer | usrmusicman | 2021-12-20 16:26:50 -0500 |
commit | 569d0dcf011c2d9302a27f2050d9930c21827428 (patch) | |
tree | 0ae5bf5149d7e0f4282decf35fd1181f7beb00eb /PKGBUILD | |
download | aur-569d0dcf011c2d9302a27f2050d9930c21827428.tar.gz |
Initial Release
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..fbdb1934746d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +pkgbase=acmt-acm510 +pkgname=("${pkgbase}-vst" "${pkgbase}-vst3" "${pkgbase}-docs") +pkgver=3.1.0 +pkgrel=1 +arch=('x86_64') +url="https://www.acmt.co.uk/products/download-acm510/index.html" +license=('EULA') +depends=('libcurl-gnutls' 'glibc') +makedepends=('xdg-user-dirs' 'unzip') + +prepare () { + _archive="`xdg-user-dir DOWNLOAD`/acm-plugins-ACM510.tar.gz" + ln -srf "${_archive}" "$srcdir/`basename "${_archive}"`" + tar -xvzf "${srcdir}/acm-plugins-ACM510.tar.gz" + tar -xvzf "${srcdir}/ACM510/x86-64/plugin-binaries.tar.gz" +} + +package_acmt-acm510-vst() { + groups=('pro-audio' 'vst-plugins') + pkgdesc="ACM510 Channel Compressor (VST)" + install -Dm755 ${srcdir}/plugin-binaries/VST/ACM510.so ${pkgdir}/usr/lib/vst/ACM510.so +} + +package_acmt-acm510-vst3() { + groups=('pro-audio' 'vst-plugins') + pkgdesc="ACM510 Channel Compressor (VST3)" + mkdir -p ${pkgdir}/usr/lib/vst3 + rm -r ${srcdir}/plugin-binaries/VST3/ACM510.vst3/Contents/Resources + cp -r ${srcdir}/plugin-binaries/VST3/ACM510.vst3 ${pkgdir}/usr/lib/vst3/ACM510.vst3 +} + +package_acmt-acm510-docs () { + pkgdesc="ACM510 Channel Compressor (Documentation)" + install -Dm644 ${srcdir}/ACM510/manual.pdf ${pkgdir}/usr/share/doc/${pkgbase}/manual.pdf +} |