Date: Monday, November 19, 2018 @ 19:31:26 Author: dvzrv Revision: 408959
archrelease: copy trunk to community-x86_64 Added: wolf-shaper/repos/community-x86_64/ wolf-shaper/repos/community-x86_64/PKGBUILD (from rev 408958, wolf-shaper/trunk/PKGBUILD) ----------+ PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) Copied: wolf-shaper/repos/community-x86_64/PKGBUILD (from rev 408958, wolf-shaper/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2018-11-19 19:31:26 UTC (rev 408959) @@ -0,0 +1,42 @@ +# Maintainer: David Runge <d...@sleepmap.de> +pkgname=wolf-shaper +pkgver=0.1.6 +pkgrel=1 +pkgdesc="A waveshaper plugin with a graph editor" +arch=('x86_64') +url="https://github.com/pdesaulniers/wolf-shaper" +license=('GPL3') +groups=('dssi-plugins' 'lv2-plugins' 'pro-audio' 'vst-plugins') +depends=('jack' 'libglvnd') +makedepends=('dssi' 'gendesk' 'lv2') +source=("$pkgname-$pkgver.tar.gz::https://github.com/pdesaulniers/${pkgname}/releases/download/v${pkgver}/${pkgname}-v${pkgver}-source.tar.gz") +sha512sums=('f5ef8a7e80ebb35e4ea7e0dbb3e3b73f88b8c607149af6ac34c35754145b374b1129a02b806a5ffb7b8164ce0768f1a3c87bd2f653803cef6ad92e281217a94a') + +prepare() { + mv -v "$pkgname" "$pkgname-$pkgver" + cd "$pkgname-$pkgver" + # XDG desktop file + gendesk -n \ + --pkgname ${pkgname} \ + --pkgdesc "${pkgdesc}" \ + --categories "AudioVideo;Audio" +} + +build() { + cd "$pkgname-$pkgver" + BUILD_VST2=true BUILD_LV2=true BUILD_DSSI=true BUILD_JACK=true make +} + +package() { + cd "$pkgname-$pkgver" + install -vDm 755 "bin/${pkgname}" -t "${pkgdir}/usr/bin/" + install -vDm 644 "${pkgname}.desktop" \ + -t "${pkgdir}/usr/share/applications" + install -vDm 755 "bin/${pkgname}-vst.so" -t "${pkgdir}/usr/lib/vst" + install -vDm 755 "bin/${pkgname}-dssi.so" -t "${pkgdir}/usr/lib/dssi" + install -vDm 755 "bin/${pkgname}.lv2/"*.so \ + -t "${pkgdir}/usr/lib/lv2/${pkgname}.lv2" + install -vDm 644 "bin/${pkgname}.lv2/"*.ttl \ + -t "${pkgdir}/usr/lib/lv2/${pkgname}.lv2" + install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" +}