void-packages/srcpkgs/libkcddb/template

27 lines
899 B
Bash

# Template file for 'libkcddb'
pkgname=libkcddb
version=18.08.3
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/${pkgname}-${version}.tar.xz"
checksum=945bf4d106658022dfac75b7689124b60feacf02b1307f9d235288cbe56967a6
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
}
}