void-packages/srcpkgs/receivemidi/template

26 lines
768 B
Bash

# Template file for 'receivemidi'
pkgname=receivemidi
version=1.4.4
revision=1
build_wrksrc="Builds/LinuxMakefile"
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel"
short_desc="Command-line tool to monitor and receive MIDI messages"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/gbevin/ReceiveMIDI"
changelog="https://github.com/gbevin/ReceiveMIDI/releases"
distfiles="https://github.com/gbevin/ReceiveMIDI/archive/refs/tags/${version}.tar.gz"
checksum=8e89b22c599bfeafd76b598579d9c3b3a6544adc72267d29ddcd315db3d34c3b
do_build() {
export JUCE_LDFLAGS="$LDFLAGS"
make ${makejobs} CONFIG=Release V=1
}
do_install() {
vbin build/receivemidi
vdoc "${wrksrc}/README.md"
vdoc "${wrksrc}/JAVASCRIPT.md"
}