kcd

LOW
maintainer yashi 0 votes scanned 2026-09-22 15:38:25.654840
View on AUR
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
3pkgname='kcd'
4pkgver=1.19.1
5pkgrel=1
6pkgdesc='Lightweight, headless implementation of the KDE Connect protocol (v8) written in Go'
7url='https://github.com/bethropolis/kcd'
8arch=('x86_64' 'aarch64')
9license=('MIT')
10provides=('kcd')
11conflicts=('kcd-bin')
12depends=('glibc')
13makedepends=('go')
14optdepends=('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')
15options=('!strip' '!debug')
16source=("${pkgname}-${pkgver}.tar.gz::https://github.com/bethropolis/kcd/archive/v${pkgver}.tar.gz")
17sha256sums=('fe26156a1d43e223cd56d325c824f023f6c7493a28798adc40644e4442a40260')
18build() {
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}
23package() {
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)SeverityRules
2026-09-22 15:38:25 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion