doubletake-alchemy

LOW
maintainer alchemy 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: Filippo Veneri <filippo.veneri@gmail.com>
2pkgname=doubletake-alchemy
3pkgver=0.4.0.alchemy.2
4pkgrel=1
5pkgdesc='AirPlay sender for Linux with Hyprland extended desktops (alchemy fork)'
6arch=('x86_64' 'aarch64')
7url='https://github.com/alchemy/doubletake'
8license=('LGPL-3.0-or-later')
9depends=(
10 'bash' 'glibc' 'gstreamer' 'gst-plugins-base' 'gst-plugins-good'
11 'gst-plugins-bad' 'gst-plugins-ugly' 'gst-plugin-pipewire'
12 'libpulse' 'xdg-desktop-portal' 'systemd' 'coreutils'
13)
14makedepends=('go>=1.25')
15optdepends=(
16 'hyprland: virtual monitors for extend mode'
17 'xdg-desktop-portal-hyprland: Hyprland capture and automatic extend selection'
18 'xdg-desktop-portal-wlr: capture on other wlroots compositors'
19 'gst-plugin-va: VA-API hardware video encoding'
20 'xorg-xrandr: primary monitor detection for X11 capture'
21 'org.freedesktop.secrets: system keyring credential storage'
22)
23provides=("doubletake=${pkgver}")
24conflicts=('doubletake')
25# Go's DWARF output is not supported by Arch's debugedit on this toolchain.
26options=('!lto' '!debug')
27# Release tag maps directly to the Arch-compatible package version.
28_tag=v${pkgver/.alchemy./-alchemy.}
29_source_dir=doubletake-${_tag#v}
30source=("doubletake-${pkgver}.tar.gz::${url}/archive/refs/tags/${_tag}.tar.gz")
31sha256sums=('51f418f6cc55ee19d4c590dfe2820bf134d549986ff96b7478719820634fb3b7')
32
33prepare() {
34 cd "${_source_dir}"
35 export GOPATH="${srcdir}/go"
36 export GOTOOLCHAIN=local
37 export GOFLAGS=-modcacherw
38 go mod download
39}
40
41build() {
42 cd "${_source_dir}"
43 export GOPATH="${srcdir}/go"
44 export GOTOOLCHAIN=local
45 export GOFLAGS=-modcacherw
46 export CGO_ENABLED=0
47 for command in doubletake doubletake-ctl doubletake-test-receiver; do
48 go build -mod=readonly -trimpath -buildmode=pie -o "bin/${command}" "./cmd/${command}"
49 done
50}
51
52check() {
53 cd "${_source_dir}"
54 export GOPATH="${srcdir}/go"
55 export GOTOOLCHAIN=local
56 export GOFLAGS=-modcacherw
57 export CGO_ENABLED=0
58 go test -mod=readonly ./... -timeout=120s
59}
60
61package() {
62 cd "${_source_dir}"
63 for command in doubletake doubletake-ctl doubletake-test-receiver; do
64 install -Dm755 "bin/${command}" "${pkgdir}/usr/bin/${command}"
65 install -Dm644 "man/man1/${command}.1" "${pkgdir}/usr/share/man/man1/${command}.1"
66 done
67 install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
68 install -Dm644 FORK.md "${pkgdir}/usr/share/doc/${pkgname}/FORK.md"
69 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
70 install -Dm644 COPYING.GPL "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.GPL"
71}
72

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