void-packages/srcpkgs/sendmidi/template

28 lines
783 B
Bash

# Template file for 'sendmidi'
pkgname=sendmidi
version=1.2.1
revision=1
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
post_patch() {
if [ -z "$XBPS_TARGET_NO_ATOMIC8" ]; then
vsed -e 's/-latomic//g' -i Makefile
fi
}
do_install() {
vbin build/sendmidi
vdoc "${wrksrc}/README.md"
}