hex/packaging/aur/PKGBUILD
Dax Raad 2d222022a5 feat(release): publish every platform to the Anomaly release service
The Release workflow uploads each target and the release to anoma.ly/release (dev.anoma.ly/release for staging) with curl and its GitHub OIDC token, records the AUR, Homebrew, and Nix distributions, mirrors the files to GitHub, and builds hex-bin from the published file. The ed25519 feeds, appcast generation, and Sparkle ZIP naming are gone; the 2.3.1 feeds stay frozen. Builds and installers use the release service names, the installers read the stable manifest and write the direct-install receipt, and the site reads its download links from the manifest.
2026-10-24 10:15:59 -04:00

49 lines
1.7 KiB
Shell

# Maintainer: dax
#
# Not a prebuilt of extra/hex (the hex dump tool, which installs /usr/bin/hx):
# this is the Hex voice dictation app, so it neither provides nor conflicts
# with it.
#
# Generated from anomalyco/hex packaging/aur by scripts/release-aur.sh, which
# sets pkgver, the release service's linux-x64 file URL, and the checksums for
# each release.
pkgname=hex-bin
pkgver=@VERSION@
pkgrel=1
pkgdesc='Hex voice dictation app by Anomaly: hold a key, speak, and it types (Linux beta; not the hex dump tool)'
arch=('x86_64')
url='https://github.com/anomalyco/hex'
license=('MIT')
# Linked: alsa-lib, gcc-libs, glib2, glibc, vulkan-icd-loader. Loaded at
# runtime: the X11/Wayland/xkbcommon client libraries and OpenBLAS.
depends=(
'alsa-lib' 'curl' 'gcc-libs' 'glib2' 'glibc' 'libx11' 'libxcb' 'libxcursor'
'libxi' 'libxkbcommon' 'libxkbcommon-x11' 'openblas' 'vulkan-icd-loader'
'wayland'
)
optdepends=(
'wl-clipboard: paste on Wayland'
'wtype: paste on Wayland'
'vulkan-driver: GPU transcription'
'wireplumber: mute output while dictating (or libpulse for pactl)'
'xdg-utils: open links from voice commands'
)
options=('!strip' '!debug')
install=hex-bin.install
source=(
"hex-${pkgver}-linux-x64::@URL@"
'hex.desktop'
'hex.service'
'LICENSE'
)
sha256sums=('@SHA256@'
'@DESKTOP_SHA256@'
'@SERVICE_SHA256@'
'@LICENSE_SHA256@')
package() {
install -Dm755 "hex-${pkgver}-linux-x64" "$pkgdir/usr/bin/hex"
install -Dm644 hex.desktop "$pkgdir/usr/share/applications/hex.desktop"
install -Dm644 hex.service "$pkgdir/usr/lib/systemd/user/hex.service"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}