summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e8b87ca17084da7e5babf643421b8696f30dc5be (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
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>

pkgname=midiomatic
pkgver="0.2.1"
pkgrel=2
pkgdesc="A collection of MIDI filter, generator and processor LV2 and VST plugins"
arch=(x86_64)
url="https://github.com/SpotlightKid/midiomatic"
license=(MIT)
groups=(pro-audio lv2-plugins vst-plugins)
depends=(gcc-libs)
checkdepends=(kxstudio-lv2-extensions lv2lint)
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 -j1 check
}

package() {
  cd "$pkgname-$pkgver"
  # install plugin LV2 bundles and VST binaries
  make -j1 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
}