void-packages/srcpkgs/kcodecs/template

25 lines
826 B
Bash

# Template file for 'kcodecs'
pkgname=kcodecs
version=5.51.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-tools-devel gperf"
makedepends="qt5-devel qt5-tools-devel"
short_desc="A collection of methods to manipulate strings using various encodings"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-only, LGPL-2.0-or-later"
homepage="https://projects.kde.org/projects/frameworks/kcodecs"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=55bc4f42e421d9e7ed829d66ff669e15df434941589b0a1b6da34c10d8c71c96
kcodecs-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}