lightos-remoted-bin

LOW
maintainer czyt 0 votes scanned 2026-10-23 07:37:02.440193
View on AUR
Why flagged

The package downloads a prebuilt binary from the project's own GitHub releases and verifies its checksum; while the host is not a universal whitelist entry, it is the project's official release infrastructure, and the binary is used to generate systemd service files, which is within expected packaging behavior for such software.

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.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package downloads a prebuilt binary from the project's own GitHub releases and verifies its checksum; while the host is not a universal whitelist entry, it is the project's official release infrastructure, and the binary is used to generate systemd service files, which is within expected packaging behavior for such software.

PKGBUILD

1# Maintainer: ca-x <https://github.com/ca-x>
2pkgname=lightos-remoted-bin
3pkgver=0.1.12
4pkgrel=1
5pkgdesc='LightOS browser remote desktop with a persistent isolated desktop session'
6arch=('x86_64')
7url='https://github.com/ca-x/lightos-remote-desktop'
8license=('MIT' 'BSD-3-Clause')
9depends=('glibc' 'libgcc' 'libstdc++' 'wayland' 'libxkbcommon' 'libpulse'
10 'hyprland' 'aquamarine=0.15.1' 'hyprutils' 'libdisplay-info' 'libdrm'
11 'libglvnd' 'libhyprutils.so' 'libdisplay-info.so' 'libinput' 'mesa' 'pixman' 'seatd' 'systemd-libs'
12 'cage' 'ghostty' 'ttf-liberation' 'dbus' 'pipewire' 'pipewire-pulse'
13 'wireplumber' 'wl-clipboard' 'systemd' 'shadow' 'bash' 'coreutils' 'util-linux' 'gawk')
14optdepends=('lightos-codec-ffmpeg-bin: Optional native hardware H.264 encoders; software fallback remains available')
15makedepends=('cmake' 'ninja' 'pkgconf' 'hyprwayland-scanner' 'wayland-protocols' 'hwdata' 'patch')
16provides=("lightos-remoted=$pkgver" "lightos-remote-desktop=$pkgver")
17conflicts=('lightos-remoted' 'lightos-remote-desktop')
18options=('!strip' '!debug')
19install=lightos-remoted-bin.install
20_aqcommit=f31c47a1b9d300847d8fc3108ad959448103dfc1
21_bundle=lightos-remoted-linux-x86_64
22source=("aquamarine-0.15.1-${_aqcommit}.tar.gz::https://codeload.github.com/hyprwm/aquamarine/tar.gz/${_aqcommit}"
23 'aquamarine-wayland.patch' 'lightos-remoted-bin.install')
24sha256sums=('975a3479b458722ec2e34e5fed9cdd46f77fa70485431f70093693532f685ff3'
25 'c905d0cb7abb194e2772b4a655bd834b7f198f92b38de228040d37e4cc492986'
26 'ef58b026b3c9f73cf6dfd4c9682b5c5e6e440ff8a68cb41b86e7c425d281c265')
27sha256sums_x86_64=('0366f10529ce8a6bfb3fc0597c4c49f305b7f546c1c7585054f1b0897daa6706'
28 '8cc50e87e71a839251b7c40600779e2ea6590b943864ed8831e1d54803aabdff')
29source_x86_64=("${_bundle}-${pkgver}.tar.gz::${url}/releases/download/v${pkgver}/${_bundle}.tar.gz"
30 "${_bundle}-${pkgver}.tar.gz.sha256::${url}/releases/download/v${pkgver}/${_bundle}.tar.gz.sha256")
31
32prepare() {
33 # Verify the release's checksum as well as makepkg's independently recorded sums.
34 local expected
35 expected=$(awk -v name="${_bundle}.tar.gz" '$2 == name && $1 ~ /^[0-9a-f]+$/ && length($1)==64 { print $1 }' "${_bundle}-${pkgver}.tar.gz.sha256")
36 [[ $expected =~ ^[0-9a-f]{64}$ ]] || return 1
37 printf '%s %s\n' "$expected" "${_bundle}-${pkgver}.tar.gz" | sha256sum --check --status || return 1
38 cd "aquamarine-${_aqcommit}"
39 [[ $(<VERSION) == 0.15.1 ]] || return 1
40 patch -Np1 -i ../aquamarine-wayland.patch
41}
42
43build() {
44 [[ $(pkg-config --modversion aquamarine) == 0.15.1 ]] || return 1
45 cmake -S "aquamarine-${_aqcommit}" -B aq-build -G Ninja \
46 -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr \
47 -DCMAKE_CXX_FLAGS="${CXXFLAGS} -ffile-prefix-map=${srcdir}=/usr/src/lightos-remoted"
48 cmake --build aq-build --target aquamarine
49 readelf -d aq-build/libaquamarine.so.0.15.1 | grep -Fq 'Library soname: [libaquamarine.so.14]' || return 1
50 readelf -d /usr/bin/Hyprland | grep -Fq 'Shared library: [libaquamarine.so.14]' || return 1
51}
52
53package() {
54 local binary="$srcdir/${_bundle}/lightos-remoted"
55 local units="$srcdir/generated-systemd"
56 install -d "$units"
57 "$binary" install-service --print-unit transport > "$units/lightos-remote-desktop.service" || return 1
58 "$binary" install-service --print-unit session > "$units/lightos-remote-desktop-session.service" || return 1
59 [[ -s $units/lightos-remote-desktop.service && -s $units/lightos-remote-desktop-session.service ]] || return 1
60 install -Dm755 "${_bundle}/lightos-remoted" "$pkgdir/usr/lib/lightos-remoted/lightos-remoted"
61 install -Dm755 aq-build/libaquamarine.so.0.15.1 "$pkgdir/usr/lib/lightos-remoted/aquamarine/libaquamarine.so.14"
62 install -Dm644 "aquamarine-${_aqcommit}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/aquamarine.txt"
63 install -d "$pkgdir/usr/bin" "$pkgdir/usr/share/licenses/$pkgname" "$pkgdir/usr/share/doc/$pkgname"
64 ln -s /usr/lib/lightos-remoted/lightos-remoted "$pkgdir/usr/bin/lightos-remoted"
65 install -Dm644 "${_bundle}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
66 cp -a "${_bundle}/licenses/." "$pkgdir/usr/share/licenses/$pkgname/"
67 cp -a "${_bundle}/docs/." "$pkgdir/usr/share/doc/$pkgname/"
68 install -m644 "${_bundle}/README.md" "${_bundle}/README.en.md" "$pkgdir/usr/share/doc/$pkgname/"
69 install -Dm644 "$units/lightos-remote-desktop.service" "$pkgdir/usr/lib/systemd/system/lightos-remote-desktop.service"
70 install -Dm644 "$units/lightos-remote-desktop-session.service" "$pkgdir/usr/lib/systemd/system/lightos-remote-desktop-session.service"
71}
72

Scan history

Scanned at (UTC)SeverityRules
2026-10-23 07:37:02 Low 2
2026-10-23 05:36:55 Low 2

Report a package

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

0 / 4000
Your suggestion