[arch-commits] Commit in (4 files)

David Runge dvzrv at archlinux.org
Mon Nov 19 19:29:28 UTC 2018


    Date: Monday, November 19, 2018 @ 19:29:27
  Author: dvzrv
Revision: 408958

Adding wolf-shaper.

Added:
  wolf-shaper/
  wolf-shaper/repos/
  wolf-shaper/trunk/
  wolf-shaper/trunk/PKGBUILD

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Added: wolf-shaper/trunk/PKGBUILD
===================================================================
--- wolf-shaper/trunk/PKGBUILD	                        (rev 0)
+++ wolf-shaper/trunk/PKGBUILD	2018-11-19 19:29:27 UTC (rev 408958)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dave at 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}"
+}



More information about the arch-commits mailing list