void-packages/srcpkgs/libkcddb/template

32 lines
1.0 KiB
Bash

# Template file for 'libkcddb'
pkgname=libkcddb
version=18.04.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="Enno Boland <gottox@voidlinux.eu>"
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=15588b9c2d54fb4d3d1beb2120210c80bfdc87f54514559d6df9147a9569675a
post_install() {
vlicense COPYING
vinstall ${wrksrc}/cmake/COPYING-CMAKE-SCRIPTS 644 usr/share/licenses/libkcddb-devel
}
libkcddb-devel_package() {
depends="libkcddb>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/cmake
vmove usr/share/doc
vmove usr/share/licenses/libkcddb-devel
vmove usr/include
vmove "usr/lib/*.so"
}
}