void-packages/srcpkgs/kcodecs/template

24 lines
791 B
Bash

# Template file for 'kcodecs'
pkgname=kcodecs
version=5.116.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="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=a489d22e91cafcb60854c6e914969e1f3f8270b403baf2ec3a1d76ae2bd3680e
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"
}
}