# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcodecs pkgver=5.59.0 pkgrel=0 pkgdesc="Provide a collection of methods to manipulate strings using various encodings" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1-only AND LGPL-2.1-or-later" makedepends="extra-cmake-modules qt5-qttools-dev gperf doxygen" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="ca32984c2a5d1770dd9577357c4f211b4ceba30a76019354a4234f97ebc55462703403dea449351dfc2b33fb7c5a2e844a72b8c88493bd6bdd481b3ae31bc6fe kcodecs-5.59.0.tar.xz"