# Description: CLI software synthesizer
# URL: https://www.mindwerks.net/projects/wildmidi/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: cmake alsa-lib

name=wildmidi
version=0.4.4
release=1
source=(https://github.com/Mindwerks/$name/archive/refs/tags/$name-$version.tar.gz)

build() {
    cd $name-$name-$version

    cmake -DCMAKE_INSTALL_PREFIX="/usr/" -DCMAKE_BUILD_TYPE=Release .
    cmake --build .
    make DESTDIR=$PKG install
}