# Contributor: Jean-Louis Fuchs # Maintainer: Jean-Louis Fuchs pkgname=libkeyfinder pkgver=2.2.7 pkgrel=0 pkgdesc="Musical key detection for digital audio" url="https://mixxxdj.github.io/libkeyfinder/" arch="all" license="GPL-3.0-or-later" makedepends=" catch2 cmake fftw-dev samurai " subpackages="$pkgname-dev" source="https://github.com/mixxxdj/libkeyfinder/archive/$pkgver/libkeyfinder-$pkgver.tar.gz" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" b98672cb0cc00326e526b79e96a0e0a8805bcd87f3711247031ea5a4fcb6447627d5b9210197e1cf23fa7c27093649e9fc702f53ee17df00e90a7caf074681e8 libkeyfinder-2.2.7.tar.gz "