blob: bf2dc52218322705883567a6e9d7504002d23398 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Maintainer: clmates <clmates at gmail dot com>
pkgname=drivebeacon
pkgver=1.0.16
pkgrel=1
pkgdesc='KDE Plasma client and service for Microsoft Graph OneDrive synchronization'
arch=('x86_64')
url='https://github.com/clmates/drivebeacon'
license=('GPL-3.0-only')
depends=(
'kcoreaddons'
'ki18n'
'kio'
'kstatusnotifieritem'
'kxmlgui'
'fuse3'
'kwallet'
'qt6-base'
)
makedepends=(
'cmake'
'extra-cmake-modules'
'gettext'
'ninja'
)
checkdepends=(
'appstream'
'desktop-file-utils'
)
optdepends=(
'dolphin: Dolphin actions and item state overlays'
'onedrive-abraunegg: optional legacy backend and migration support'
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('a690c88c04213223bb3f0b89133cf6d64eddd20f74979186b2e927cdc0a1c790')
build() {
cmake -S "$srcdir/$pkgname-$pkgver" -B build -G Ninja \
-DBUILD_TESTING=ON \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
check() {
ctest --test-dir build --output-on-failure
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|