void-packages/srcpkgs/libkcddb/template

27 lines
899 B
Bash

# Template file for 'libkcddb'
pkgname=libkcddb
version=18.12.0
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=ca71baa4d29e0e1c17d0b67d46adce0ef2d915152cff78b56239e5cdca5ab595
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
}
}