cruxports/wildmidi/Pkgfile

22 lines
553 B
Plaintext
Raw Normal View History

2022-02-05 15:39:19 -05:00
# Description: CLI software synthesizer
# URL: https://www.mindwerks.net/projects/wildmidi/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: alsa-lib
2022-02-05 15:39:19 -05:00
name=wildmidi
2023-02-11 08:42:45 -05:00
version=0.4.5
2022-02-05 15:39:19 -05:00
release=1
source=(https://github.com/Mindwerks/$name/archive/refs/tags/$name-$version.tar.gz)
build() {
cd $name-$name-$version
2022-11-27 07:34:45 -05:00
cmake -DCMAKE_INSTALL_PREFIX="/usr/" \
-DCMAKE_BUILD_TYPE=Release \
2023-02-11 08:42:45 -05:00
-DCMAKE_C_FLAGS="$CFLAGS" \
2022-11-27 07:34:45 -05:00
-DCMAKE_INSTALL_LIBDIR=lib .
2022-02-05 15:39:19 -05:00
cmake --build .
make DESTDIR=$PKG install
}