void-packages/srcpkgs/receivemidi/template

26 lines
768 B
Bash

# Template file for 'receivemidi'
pkgname=receivemidi
version=1.4.3
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=d51c8c5cf378abce048ecabf6e4dc68ba735d75bdc78f3150b3e6117ee2df906
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"
}