archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / vm.lv2 / trunk / PKGBUILD
blob7958f5cb0a1a41829e85ce603d7f54e6d13b3004
1 # Maintainer: David Runge <dvzrv@archlinux.org>
3 pkgname=vm.lv2
4 pkgver=0.14.0
5 pkgrel=3
6 pkgdesc="A virtual machine LV2 plugin bundle"
7 arch=(x86_64)
8 url="https://git.open-music-kontrollers.ch/~hp/vm.lv2"
9 license=(Artistic2.0)
10 groups=(
11   lv2-plugins
12   pro-audio
14 depends=(
15   glibc
16   libglvnd
17   libx11
18   lv2-host
20 makedepends=(
21   glew
22   glu
23   lv2
24   meson
26 checkdepends=(lv2lint)
27 source=(
28   $pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz
29   $pkgname-$pkgver.tar.gz.asc::$url/archive/$pkgver.tar.gz.asc
31 sha512sums=('653a0a153fc3c56619fce027249a15f7d24ff1eb2450e84a6b657cc33261e2a5bada8ffe1592f02bb55eaea8953dc4ce02bacb5a890b82354e9d1a0c0ac0376f'
32             'SKIP')
33 b2sums=('bd0c1cb7ea44e351e4435d6ea4871c14cad4b05fd21f254f28875baa0d37aa59df6275b2c367e718551e829e2270bab8427cbc35e5485809b80f483fed98e204'
34         'SKIP')
35 validpgpkeys=('5AE26CEBBF49705C19FB273A30258F99258CB76A') # Hanspeter Portner <dev@open-music-kontrollers.ch>
37 build() {
38   arch-meson build $pkgname-$pkgver
39   meson compile -C build
42 check() {
43   meson test -C build --print-errorlogs
46 package() {
47   depends+=(
48     glew libGLEW.so
49   )
51   meson install -C build --destdir "$pkgdir"
52   install -vDm 644 $pkgname-$pkgver/{ChangeLog,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"