pkgname=baloo pkgver=5.37.0 pkgrel=1 pkgdesc="A framework for searching and managing metadata" arch="all" url='https://community.kde.org/Frameworks' license="LGPL" depends="kfilemetadata kio lmdb hicolor-icon-theme" makedepends="extra-cmake-modules kdoctools python qt5-qttools-dev kfilemetadata lmdb-dev kidletime-dev kcrash-dev solid-dev kdbusaddons-dev kcoreaddons-dev kconfig-dev kio-dev qt5-qtdeclarative-dev kio-dev kbookmarks-dev kservice-dev kwidgetsaddons-dev kcompletion-dev kitemviews-dev kjobwidgets-dev kxmlgui-dev kconfigwidgets-dev kauth-dev kcodecs-dev ki18n-dev kfilemetadata-dev doxygen" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" prepare() { mkdir -p $srcdir/build } build() { cd $srcdir/build cmake "$srcdir"/$pkgname-$pkgver \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF \ -DBUILD_QCH=ON make } package() { cd $srcdir/build make DESTDIR="${pkgdir}" install } sha512sums="5380042aa5ab09460d101b46d60ea89ba735251563fb88803b877af86d1dc86267470b833992e3cf3fa807a4d4ce8d183a68ce684e2e97f5a8563e85d0584b8b baloo-5.37.0.tar.xz"