mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
It is the Hex voice dictation app, not a prebuilt of extra/hex (a hex dump tool that installs /usr/bin/hx), so it neither provides nor conflicts with it, and its description says so.
48 lines
1.7 KiB
Shell
48 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 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}-x86_64-linux::https://github.com/anomalyco/hex/releases/download/app-v${pkgver}/HEX-${pkgver}-x86_64-linux"
|
|
'hex.desktop'
|
|
'hex.service'
|
|
'LICENSE'
|
|
)
|
|
sha256sums=('@SHA256@'
|
|
'@DESKTOP_SHA256@'
|
|
'@SERVICE_SHA256@'
|
|
'@LICENSE_SHA256@')
|
|
|
|
package() {
|
|
install -Dm755 "HEX-${pkgver}-x86_64-linux" "$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"
|
|
}
|