# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kget pkgver=19.12.3 pkgrel=0 # ppc64le and s390x blocked by plasma-workspace -> libksysguard -> qt5-qtwebengine # armhf blocked by extra-cmake-modules arch="all !ppc64le !s390x !armhf" url="https://kde.org/applications/internet/org.kde.kget" pkgdesc="A versatile and user-friendly download manager" license="GPL-2.0-or-later AND LGPL-2.0-only AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev ki18n-dev kiconthemes-dev kitemviews-dev kcmutils-dev kio-dev knotifications-dev knotifyconfig-dev kparts-dev kservice-dev ktextwidgets-dev kwallet-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev kitemmodels-dev kdelibs4support-dev plasma-workspace-dev sqlite-dev qca-dev gpgme-dev libktorrent-dev libmms-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/kget-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # No tests build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="67adf59577ab08895d8107b9ae828db34174efe5546d53bcec48cfa273cf4443ae2e2dfc1c189781a48305fdbd0aa1e2d2aedbacd242a6e14d0ac1ad9b3aa887 kget-19.12.3.tar.xz"