void-packages/srcpkgs/kcodecs/template
2018-08-13 11:30:48 +02:00

24 lines
838 B
Bash

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