blob: 54e0fa7c75b97c6a62a789694d810c23d2a41cf3 (
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
|
# Maintainer: tarball <bootctl@gmail.com>
pkgname=ktailctl
pkgver=0.19.1
pkgrel=1
arch=(x86_64 aarch64)
url='https://github.com/f-koehler/KTailctl'
pkgdesc='GUI to monitor and manage Tailscale'
license=(GPL-3.0-only)
depends=(
gcc-libs
glibc
hicolor-icon-theme
kconfig
kcoreaddons
kdbusaddons
kguiaddons
ki18n
kirigami
kirigami-addons
knotifications
kwindowsystem
qqc2-desktop-style
qt6-base
qt6-declarative
qt6-svg
tailscale
)
makedepends=(
cmake
extra-cmake-modules
git
go
nlohmann-json
)
# use any of:
# gpg --keyserver keyserver.ubuntu.com --search-keys me@fkoehler.org
# gpg --recv-keys fingerprint_below
# gpg --import keys/pgp/*.asc
validpgpkeys=(
'C5DC80511469AD81C84E3564D55A35AFB2900A11' # Fabian Köhler <me@fkoehler.org>
)
# git tag is used by the cmake script to determine app version
source=(git+$url.git#tag=v$pkgver?signed)
sha256sums=('edde7e2412e70758703147149d8bd068312b1a609e31e42f67a174d3d2b16745')
prepare() {
cd KTailctl/src/wrapper
go mod vendor
}
build() {
cmake -B build -S KTailctl \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|