kcd
LOW
maintainer yashi
0 votes
scanned 2026-09-22 15:38:25.654840
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: bethropolis <bethropolis at gmail dot com>
2
3
pkgname='kcd'
4
pkgver=1.19.1
5
pkgrel=1
6
pkgdesc='Lightweight, headless implementation of the KDE Connect protocol (v8) written in Go'
7
url='https://github.com/bethropolis/kcd'
8
arch=('x86_64' 'aarch64')
9
license=('MIT')
10
provides=('kcd')
11
conflicts=('kcd-bin')
12
depends=('glibc')
13
makedepends=('go')
14
optdepends=('libnotify: for desktop notifications' 'wl-clipboard: for Wayland clipboard sync' 'xclip: for X11 clipboard sync' 'sshfs: for SFTP mounting support' 'python-nautilus: for Nautilus file manager integration' 'ydotool: for Wayland mousepad support' 'xdotool: for X11 mousepad support' 'wtype: for Wayland keyboard emulation')
15
options=('!strip' '!debug')
16
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/bethropolis/kcd/archive/v${pkgver}.tar.gz")
17
sha256sums=('fe26156a1d43e223cd56d325c824f023f6c7493a28798adc40644e4442a40260')
18
build() {
19
cd "${srcdir}/kcd-${pkgver}"
20
export CGO_ENABLED=0
21
go build -trimpath -ldflags "-s -w -X main.version=${pkgver} -X main.commit=5eb7b266c5a4b971328eac0a0ed14119fd2a9153" -o kcd ./cmd/kcd
22
}
23
package() {
24
cd "${srcdir}/kcd-${pkgver}"
25
install -Dm755 "./kcd" "${pkgdir}/usr/bin/kcd"
26
27
install -Dm644 "./packaging/kcd-pkg.service" "${pkgdir}/usr/lib/systemd/user/kcd.service"
28
install -Dm644 "./packaging/kcd-pkg.socket" "${pkgdir}/usr/lib/systemd/user/kcd.socket"
29
install -Dm644 "./packaging/kcd-system.service" "${pkgdir}/usr/lib/systemd/system/kcd@.service"
30
31
install -Dm644 "./packaging/kcd.example.toml" "${pkgdir}/usr/share/doc/kcd/kcd.example.toml"
32
install -Dm644 "./README.md" "${pkgdir}/usr/share/doc/kcd/README.md"
33
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/kcd/LICENSE"
34
35
install -Dm644 "./packaging/kcd.bash-completion" "${pkgdir}/usr/share/bash-completion/completions/kcd"
36
install -Dm644 "./packaging/kcd.zsh-completion" "${pkgdir}/usr/share/zsh/site-functions/_kcd"
37
install -Dm644 "./packaging/kcd.fish-completion" "${pkgdir}/usr/share/fish/vendor_completions.d/kcd.fish"
38
39
install -Dm644 "./packaging/nautilus-kcd.py" "${pkgdir}/usr/share/nautilus-python/extensions/nautilus-kcd.py"
40
41
install -Dm644 "./packaging/firewalld-kcd.xml" "${pkgdir}/usr/lib/firewalld/services/kcd.xml"
42
install -Dm644 "./packaging/ufw-kcd" "${pkgdir}/etc/ufw/applications.d/kcd"
43
}
44
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-22 15:38:25 | Low | 1 |