void-packages/srcpkgs/sendmidi/template

27 lines
765 B
Bash

# Template file for 'sendmidi'
pkgname=sendmidi
version=1.2.1
revision=2
build_wrksrc="Builds/LinuxMakefile"
build_style=gnu-makefile
make_build_args="CONFIG=Release"
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel"
short_desc="Command-line tool to send out MIDI messages"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/gbevin/SendMIDI"
changelog="https://github.com/gbevin/SendMIDI/releases"
distfiles="https://github.com/gbevin/SendMIDI/archive/refs/tags/${version}.tar.gz"
checksum=3fb3d16ee14784e057e633b6e57fede33ac291d9af85942106fde8b431e15740
do_build() {
export JUCE_LDFLAGS="$LDFLAGS"
make ${makejobs} CONFIG=Release V=1
}
do_install() {
vbin build/sendmidi
vdoc "${wrksrc}/README.md"
}