# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkcompactdisc pkgver=19.08.2 pkgrel=0 arch="all" url="https://www.kde.org/applications/multimedia/" pkgdesc="Library for interfacing with CDs" license="GPL-2.0-or-later AND LGPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev solid-dev ki18n-dev phonon-dev" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" options="!check" # No tests build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="4113e1fec72b4a1b4a054354dee8daf3ef1115b9f986581faadea4326cde2d7f9d153a34601151627d52b7ecd56a360772ad0e8869b992596ebdd7e5d8da014f libkcompactdisc-19.08.2.tar.xz"