void-packages/srcpkgs/kcodecs/template
Juergen Buchmueller 3794f4ab62 kcodecs: fix cross
2016-11-01 19:35:44 +01:00

24 lines
823 B
Bash

# Template file for 'kcodecs'
pkgname=kcodecs
version=5.26.0
revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-tools-devel"
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=931fb21946604ef5f4a4a36a6c7bdd40347d7a44a98edf291f361fe24becbfa3
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
}
}