blob: 689db7429e6427a88d45a003038678ae8d50029e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kio-gdrive
pkgver=1.2.7
pkgrel=2
arch="all !ppc64le !s390x !armhf" # 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="signon-plugin-oauth2 signon-ui"
makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kdoctools-dev kio-dev kaccounts-integration-dev libkgapi-dev intltool"
source="https://download.kde.org/stable/kio-gdrive/$pkgver/src/kio-gdrive-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
build() {
cmake -B "$builddir"/build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make -C build
}
check() {
cd "$builddir"/build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make -C build install
}
sha512sums="f1eedad2cd244e38f6cdf397e9488cb7f31fe7c4b17825f3b0882ff46f7f62f087e7b2bc59db434b4a55641920b8b03f3dec6adf7031ccc2277c7a0b166f9c80 kio-gdrive-1.2.7.tar.xz"
|