# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kbookmarks pkgver=5.65.0 pkgrel=0 pkgdesc="Support for bookmarks and the XBEL format" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" depends_dev="qt5-qtbase-dev kconfig-dev kcoreaddons-dev kcodecs-dev kconfigwidgets-dev kwidgetsaddons-dev kxmlgui-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kbookmarks-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="192b850a166b2714e7748a6099841b3fbd61ba303633076628b912e07cb9a88e97717f1716025e002da5d9b0f2ced7d4604556ab9c351a522021d45d5ee8d760 kbookmarks-5.65.0.tar.xz"