# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=minuet pkgver=19.12.2 pkgrel=1 arch="all !armhf" # armhf blocked by qt5-qtdeclarative url="https://minuet.kde.org/" pkgdesc="Minuet Music Education" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev qt5-qtsvg-dev kcoreaddons-dev ki18n-dev kcrash-dev kdoctools-dev fluidsynth-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/minuet-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang $pkgname-dev" options="!check" # No tests build() { cmake -B "$builddir"/build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="8c9f39fcaaca1ea54f5ababa40890a834bf99d7920ca5d46e38e4ad2d4d527e88351378c7b2ddb5909abc25b990b234c0e1ef29ce6699b67790b54924a50cd7a minuet-19.12.2.tar.xz"