# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kjsembed pkgver=5.62.0 pkgrel=0 pkgdesc="JavaScript bindings for QObject" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" depends_dev="qt5-qtsvg-dev kjs-dev ki18n-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev qt5-qttools-static kdoctools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/kjsembed-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="0d128b7e4791f3a101f05fd352fa077b107fd7402fdc96298ef40e320b84771e021025ab12ae1e37b971da8e7e5fc9da951e26aa8113e518baa32fbfd8841269 kjsembed-5.62.0.tar.xz"