pkgname=kdeclarative pkgver=5.37.0 pkgrel=1 pkgdesc='Provides integration of QML and KDE Frameworks' arch="all" url='https://community.kde.org/Frameworks' license="LGPL" depends="kio kpackage libepoxy" makedepends="extra-cmake-modules python doxygen qt5-qttools-dev kpackage-dev kconfig-dev kiconthemes-dev kio-dev kguiaddons-dev qt5-qtdeclarative-dev ki18n-dev kcoreaddons-dev kservice-dev kbookmarks-dev kwidgetsaddons-dev kcompletion-dev kitemviews-dev kjobwidgets-dev solid-dev kxmlgui-dev kconfigwidgets-dev kauth-dev kcodecs-dev kwindowsystem-dev kglobalaccel-dev" 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="903df965d34ae3bcd0e4c84d1821843bb20ba7e90c276b4b10b47f3455fbace1b5dba31597124757fd93990baf95a5cf8fd7453eae9711545475ad1997dda06e kdeclarative-5.37.0.tar.xz"