-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPKGBUILD
More file actions
39 lines (37 loc) · 813 Bytes
/
PKGBUILD
File metadata and controls
39 lines (37 loc) · 813 Bytes
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
# Maintainer: Your Name <your.email@example.com>
pkgname=kate-code
pkgver=1.0.0
pkgrel=1
pkgdesc="Claude Code integration for Kate text editor"
arch=('x86_64')
url="https://github.com/undefinedopcode/kate-code"
license=('MIT')
depends=(
'ktexteditor'
'ki18n'
'kcoreaddons'
'kxmlgui'
'syntax-highlighting'
'kwallet'
'kpty'
'qt6-webengine'
)
makedepends=(
'cmake'
'extra-cmake-modules'
'gcc'
)
optdepends=(
'claude-code-acp: Required for Claude Code functionality'
)
source=("${pkgname}::git+https://github.com/undefinedopcode/kate-code.git")
sha256sums=('SKIP')
build() {
cmake -B build -S "$pkgname" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}