owly

LOW
maintainer t4t5 0 votes scanned 2026-10-21 17:32:44.330620
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: T4T5 <t4t5@hey.com>
2
3# owly: AirDrop's radio on Linux Wi-Fi cards without Apple's Broadcom
4# firmware. owlyd, the system service that leases the radio out over D-Bus,
5# and the owly CLI: doctor, test-card, send and receive.
6#
7# Generated by packaging/arch/aur.sh from packaging/arch/owly/PKGBUILD
8# in https://github.com/t4t5/owly, at owly 0.4.0: change it there.
9#
10# packaging/arch/aur.sh derives the AUR's PKGBUILD from this one, building
11# the release tagged v${pkgver} instead of this checkout. Bumping the
12# workspace version in Cargo.toml, and pkgver here, in omdrop-owl's and in
13# omdrop-owl-bin's with it, publishes it (.github/workflows/release.yml).
14pkgname=owly
15pkgver=0.4.0
16pkgrel=1
17pkgdesc="AirDrop's Wi-Fi radio on Linux: AWDL in userspace, the owlyd radio service, and the owly CLI"
18arch=('x86_64' 'aarch64')
19url="https://github.com/t4t5/owly"
20license=('MIT')
21# Programs owlyd and the CLI run, by package:
22# networkmanager nmcli: releasing and reconnecting the station
23# iproute2 ip: shared mode's check that Wi-Fi passes traffic
24# iputils ping: the same check, test-card's Wi-Fi watch
25# util-linux mount: debugfs, for mt76 power management
26depends=('glibc' 'gcc-libs' 'dbus' 'systemd' 'polkit' 'networkmanager' 'iproute2' 'iputils' 'util-linux')
27optdepends=('hostapd: exclusive mode on cards without ad-hoc mode'
28 'bluez: owly send wakes the receiver over Bluetooth')
29makedepends=('cargo')
30checkdepends=('dbus')
31options=('!lto' '!debug')
32install="${pkgname}.install"
33
34noextract=("${pkgname}-${pkgver}.tar.gz")
35source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
36 )
37sha256sums=('3e3ee6080353cbb9af150b0622441ce2b0a09c59e7e29136041ec83777908305')
38
39# The tree to build: this checkout.
40_tree() { echo "${srcdir}/${pkgname}-${pkgver}"; }
41_unpack() {
42 rm -rf "$(_tree)" && mkdir -p "$(_tree)"
43 tar -xzf "${srcdir}/${pkgname}-${pkgver}.tar.gz" -C "$(_tree)" --strip-components=1
44}
45
46_target() { rustc -vV | sed -n 's/^host: //p'; }
47
48# As omdrop-core's PKGBUILD does: keep the builder's paths out of the
49# binaries (panic locations, file!()), so the build doesn't depend on where
50# it ran. rustc applies the last matching mapping, so srcdir, which may sit
51# inside the tree, comes after it.
52_cargo_env() {
53 export CARGO_HOME="${srcdir}/cargo-home" CARGO_TARGET_DIR="${srcdir}/target"
54 local sysroot; sysroot=$(rustc --print sysroot)
55 export RUSTFLAGS="${RUSTFLAGS:-} --remap-path-prefix=${sysroot}=/usr/src/rust --remap-path-prefix=$(_tree)=/usr/src/debug/${pkgname} --remap-path-prefix=${srcdir}=/usr/src/debug/${pkgname}"
56}
57
58prepare() {
59 _unpack
60 local tree; tree=$(_tree)
61 grep -qx "version = \"${pkgver}\"" "${tree}/Cargo.toml" \
62 || { error "pkgver differs from the workspace version in Cargo.toml"; return 1; }
63
64 cd "${tree}"
65 export CARGO_HOME="${srcdir}/cargo-home"
66 cargo fetch --locked --target "$(_target)"
67}
68
69build() {
70 cd "$(_tree)"
71 _cargo_env
72 cargo build --frozen --release -p owlyd -p owly-cli
73}
74
75check() {
76 cd "$(_tree)"
77 _cargo_env
78 cargo test --frozen --release -p owlyd -p owly-cli
79}
80
81package() {
82 cd "$(_tree)"
83 DESTDIR="${pkgdir}" TARGET="${srcdir}/target" packaging/install.sh owly
84}
85

Scan history

Scanned at (UTC)SeverityRules
2026-10-21 17:32:44 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