cruxports/wildmidi/Pkgfile

22 lines
553 B
Plaintext

# Description: CLI software synthesizer
# URL: https://www.mindwerks.net/projects/wildmidi/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: alsa-lib
name=wildmidi
version=0.4.6
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 \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DCMAKE_INSTALL_LIBDIR=lib .
cmake --build .
make DESTDIR=$PKG install
}