void-packages/srcpkgs/libkcddb/template

27 lines
897 B
Bash

# Template file for 'libkcddb'
pkgname=libkcddb
version=18.12.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python kdoctools kconfig"
makedepends="kio-devel libmusicbrainz5-devel"
short_desc="KDE CDDB library"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-2.0-or-later, LGPL-2.0-or-later, BSD-3-Clause, GFDL-1.2-only"
homepage="https://projects.kde.org/projects/kde/kdemultimedia/libkcddb"
distfiles="${KDE_SITE}/applications/${version}/src/libkcddb-${version}.tar.xz"
checksum=a5849aafc0f6f619c4a0a7d2dbd19c71de9b7f310c7a3b84d5303c11dc5c39cd
libkcddb-devel_package() {
depends="libkcddb>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/cmake
vmove usr/share/doc
vmove usr/include
vmove "usr/lib/*.so"
vlicense cmake/COPYING-CMAKE-SCRIPTS
}
}