diff options
author | Christopher Arndt | 2018-08-21 18:27:58 +0200 |
---|---|---|
committer | Christopher Arndt | 2018-08-21 18:27:58 +0200 |
commit | 754475b9712e6efe23c8ee795b9ea9739755195a (patch) | |
tree | e6cf0808961c8051aadf19be67b870292aaca9a8 /PKGBUILD | |
download | aur-protoplug.tar.gz |
Add new package 'protoplug'
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..21d3bc9e9341 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de> + +pkgname=protoplug +pkgver=1.4.0 +pkgrel=1 +pkgdesc="A VST plugin which runs Lua scripts as audio and MIDI effects and instruments" +arch=('i686' 'x86_64') +url="http://www.osar.fr/protoplug/" +license=("MIT") +groups=('vst-plugins') +depends=('curl' 'gtk3' 'luajit') +optdepends=('fftw: FFTW support for protoplug Lua scripts') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pac-dev/${pkgname}/archive/v${pkgver}.tar.gz") +sha256sums=('69fd7a581d2371b6776209fa199e7c7109e248b97605d34593de3cd1ed91c886') + + +build() { + cd "${srcdir}/${pkgname}-${pkgver}/Builds/multi/Linux/" + + make CONFIG=Release +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # plug-in binaries + install -Dm755 Bin/linux/*.so -t "${pkgdir}/usr/lib/vst" + # license + install -Dm644 license.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" + + # support files + cd ProtoplugFiles + install -dm755 "${pkgdir}/usr/share/ProtoplugFiles" + for file in effects generators include themes *.xml; do + cp -r $file "${pkgdir}/usr/share/ProtoplugFiles" + done + + # documentation + cd doc + install -dm755 "${pkgdir}/usr/share/doc/${pkgname}" + for file in classes examples modules *.html *.css; do + cp -r $file "${pkgdir}/usr/share/doc/${pkgname}" + done + ln -s ../doc/${pkgname} "${pkgdir}/usr/share/ProtoplugFiles/doc" +} + +# vim:set ts=2 sw=2 et: |