void-packages/srcpkgs/kcodecs/template

25 lines
829 B
Bash

# Template file for 'kcodecs'
pkgname=kcodecs
version=5.42.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="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kcodecs"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=8c574d9c1140089767c6c46fd93cf4c9a4972b83cef16da7f4b6a52c06f9292c
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
}
}