# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kio-gdrive pkgver=20.08.2 pkgrel=0 arch="all !ppc64le !s390x !armhf !mips !mips64" # Blocked by libkgapi -> qt5-qtwebengine url="https://community.kde.org/KIO_GDrive" pkgdesc="KIO Slave to access Google Drive" license="GPL-2.0-or-later" depends=" kaccounts-providers signon-plugin-oauth2 signon-ui " makedepends=" extra-cmake-modules intltool kaccounts-integration-dev kdoctools-dev ki18n-dev kio-dev libkgapi-dev qt5-qtbase-dev " source="https://download.kde.org/stable/release-service//$pkgver/src/kio-gdrive-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="f351f4d7e54dab80074080ec2c5a6348a2c88fe2067cf8d4d3e4978323ba342ec32109063889b69559eae0a353906b02114c86dd32f6f1af1782f0bc969b68b6 kio-gdrive-20.08.2.tar.xz"