blob: 512ad9a2ecec1b404a9520dd1b4b6d6b0f8add1b (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# Maintainer: DeltaCopy <7x0bb03yq@mozmail.com>
# Description: Builds Darkly from https://github.com/Bali10050/Darkly
# Autogenerated from https://github.com/DeltaCopy/darkly-aur-ci
# basic info
pkgname="darkly"
_gitname="Darkly"
pkgver=0.5.31
pkgrel=1
pkgdesc="Fork of Lightly (A modern style for Qt applications)"
url="https://github.com/Bali10050/darkly"
arch=('x86_64' 'aarch64')
license=("GPL-2.0-or-later")
build_dir="build_kf6"
makedepends=(
'cmake'
'extra-cmake-modules'
)
options=(!emptydirs)
source=(
"${url}/archive/refs/tags/v${pkgver}.tar.gz"
)
sha256sums=(
'3405d432285de94b55ff8c6e2a4f3b7950ed48cc51a1284380f6b4bb08d7fb91'
)
# KF6/Qt6
depends_kf6=(
'kdecoration'
'qt6-declarative'
'kcoreaddons'
'kcmutils'
'kcolorscheme'
'kconfig'
'kguiaddons'
'kiconthemes'
'kwindowsystem'
'frameworkintegration'
'libplasma'
)
# KF5/QT5 for backward compatibility
depends_kf5=(
'kcmutils5'
'frameworkintegration5'
'kconfigwidgets5'
'kiconthemes5'
'kirigami2'
'kwindowsystem5'
)
depends=("${depends_kf6[@]}" "${depends_kf5[@]}")
build() (
local cmake_options=(
-B $build_dir
-S "$_gitname-${pkgver}"
-DBUILD_TESTING=OFF
-Wno-dev
)
cmake "${cmake_options[@]}"
cmake --build $build_dir
)
package() (
DESTDIR="$pkgdir" cmake --install $build_dir
rm -rf "$pkgdir/usr/lib/cmake"
)
|