void-packages/srcpkgs/ki18n/template

34 lines
969 B
Bash

# Template file for 'ki18n'
pkgname=ki18n
version=5.113.0
revision=1
build_style=cmake
hostmakedepends="gettext kcoreaddons extra-cmake-modules qt5-qmake qt5-host-tools
qt5-devel pkg-config python3"
makedepends="qt5-devel qt5-script-devel qt5-declarative-devel"
depends="iso-codes"
checkdepends="${depends}"
short_desc="KDE Gettext-based UI text internationalization"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later"
homepage="https://invent.kde.org/frameworks/ki18n"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=fc94ba4cd1a4f0d25958764efcfc052cbf29fcf302cd668be2b18f62c6c58042
do_check() {
cd build
# Skip failing tests
ctest -E "kcountrytest|kcountrysubdivisiontest"
}
ki18n-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}