#Packager: George Vlahavas pkgname=libinstpatch pkgver=1.1.6 pkgrel=1gv source=("https://github.com/swami/libinstpatch/archive/refs/tags/v$pkgver.tar.gz") docs=("readme.md" "install" "copying" "changelog" "authors" "news" "todo") url=https://github.com/swami/libinstpatch slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libinstpatch (Instrument file software library)" "libInstPatch stands for lib-Instrument-Patch and is a library for" "processing digital sample based MIDI instrument \"patch\" files. The" "types of files libInstPatch supports are used for creating instrument" "sounds for wavetable synthesis. libInstPatch provides an object" "framework (based on GObject) to load patch files into, which can then" "be edited, converted, compressed and saved." ) build() { cd $startdir/src/$pkgname-$pkgver cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release \ -Wno-dev \ -B build \ -S . make VERBOSE=1 -C build make VERBOSE=1 DESTDIR=$startdir/pkg install -C build }