# Template file for 'kf6-kcodecs'
pkgname=kf6-kcodecs
version=6.8.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
 gperf"
makedepends="qt6-base-devel"
short_desc="Collection of methods to manipulate strings using various encodings"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kcodecs"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=96c9535c6f79571cd7170360dc0b64a33d529d59cbd9457934bfc0cf6cf4b27f

kf6-kcodecs-devel_package() {
	depends="$makedepends ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
