[arch-commits] Commit in vm.lv2/repos (community-x86_64 community-x86_64/PKGBUILD)

David Runge dvzrv at archlinux.org
Mon May 21 16:53:32 UTC 2018


    Date: Monday, May 21, 2018 @ 16:53:31
  Author: dvzrv
Revision: 326363

archrelease: copy trunk to community-x86_64

Added:
  vm.lv2/repos/community-x86_64/
  vm.lv2/repos/community-x86_64/PKGBUILD
    (from rev 326361, vm.lv2/trunk/PKGBUILD)

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

Copied: vm.lv2/repos/community-x86_64/PKGBUILD (from rev 326361, vm.lv2/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-05-21 16:53:31 UTC (rev 326363)
@@ -0,0 +1,36 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=vm.lv2
+pkgver=0.4.0
+pkgrel=4
+pkgdesc="A virtual machine LV2 plugin bundle"
+arch=('x86_64')
+url="https://open-music-kontrollers.ch/lv2/vm/#"
+license=('Artistic2.0')
+groups=('lv2-plugins' 'pro-audio')
+depends=('libgl')
+makedepends=('cmake' 'lv2')
+source=("https://git.open-music-kontrollers.ch/lv2//$pkgname/snapshot/$pkgname-$pkgver.tar.xz")
+md5sums=('01614eb27309f4fbd0dde02dc74991c0')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # hotfixing undeclared variable:
+  # https://gitlab.com/OpenMusicKontrollers/vm.lv2/issues/1
+  sed -e 's/HUGE/HUGE_VAL/g' -i vm_ui.c
+  mkdir -v build
+}
+
+build() {
+  cd "$pkgname-$pkgver/build"
+  cmake -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        ..
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver/build"
+  make DESTDIR="$pkgdir/" install
+  # docs
+  install -vDm 644 ../README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+}



More information about the arch-commits mailing list