summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fa2ea4dc91acdd77d6e1e111983177bd7ee1348b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: OSAMC <https://github.com/osam-cologne/archlinux-proaudio>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>

pkgname=midiomatic
pkgver=0.2.1
pkgrel=3
pkgdesc='A collection of MIDI filter, generator and processor LV2 and VST2 plugins'
arch=(x86_64 aarch64)
url='https://github.com/SpotlightKid/midiomatic'
license=(MIT)
groups=(pro-audio lv2-plugins vst-plugins)
depends=(gcc-libs)
checkdepends=(kxstudio-lv2-extensions lv2lint)
optdepends=(
  'lv2-host: for LV2 plugins'
  'vst-host: for VST plugins'
)
source=(
  "https://github.com/SpotlightKid/midiomatic/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
)
sha256sums=('aed203bde8fd01e279e058d48f084754f50b9fd758d7b56b845f11d8fbdbb1f3')

build() {
  cd $pkgname-$pkgver
  make -j1
}

check() {
  cd $pkgname-$pkgver
  make check
}

package() {
  cd $pkgname-$pkgver
  # install plugin LV2 bundles and VST binaries
  make PREFIX=/usr DESTDIR="$pkgdir" install
  # readme
  install -Dm644 README.md -t "$pkgdir"/usr/share/doc/$pkgname
  # license file
  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}