void-packages/srcpkgs/kcodecs/template
2021-06-19 11:33:53 +02:00

23 lines
792 B
Bash

# Template file for 'kcodecs'
pkgname=kcodecs
version=5.83.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons 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 <me@johnnynator.dev>"
license="LGPL-2.0-only, LGPL-2.0-or-later"
homepage="https://invent.kde.org/frameworks/kcodecs"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=02352cabd76a02c8c843b31d5ad8be208af7d17705cbcfca75733b5e3e518359
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"
}
}