[arch-commits] Commit in wolf-spectrum/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 13:29:53 UTC 2020
Date: Tuesday, July 7, 2020 @ 13:29:52
Author: felixonmars
Revision: 658484
archrelease: copy trunk to community-staging-x86_64
Added:
wolf-spectrum/repos/community-staging-x86_64/
wolf-spectrum/repos/community-staging-x86_64/PKGBUILD
(from rev 658483, wolf-spectrum/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: wolf-spectrum/repos/community-staging-x86_64/PKGBUILD (from rev 658483, wolf-spectrum/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 13:29:52 UTC (rev 658484)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+pkgname=wolf-spectrum
+pkgver=1.0.0
+pkgrel=2
+pkgdesc="A spectrogram plugin"
+arch=('x86_64')
+url="https://github.com/pdesaulniers/wolf-spectrum"
+license=('GPL3')
+groups=('lv2-plugins' 'pro-audio' 'vst-plugins')
+depends=('jack' 'libglvnd')
+makedepends=('gendesk' 'lv2')
+source=("https://github.com/pdesaulniers/${pkgname}/releases/download/v${pkgver}/${pkgname}-v${pkgver}-source.tar.gz")
+sha512sums=('e84abfef3a08d8da8fe5350088f43d7670c5ff828ec7bf7ddcd4b3c19c1cdba6560be7b69ab5b9af1d27c80c195f123e635d2337e0a297282564935d54b8d501')
+
+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_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}.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