Files
hyprvoice/packaging/PKGBUILD
T
2025-09-08 13:09:44 +02:00

39 lines
1.1 KiB
Bash

# Maintainer: Leonardo Trapani <leo@trapani.sh>
pkgname=hyprvoice-bin
pkgver=0.1.4
pkgrel=1
pkgdesc="Voice-powered typing for Wayland/Hyprland"
arch=('x86_64')
url="https://github.com/leonardotrapani/hyprvoice"
license=('MIT')
depends=(
'pipewire'
'pipewire-pulse'
'pipewire-audio'
'wl-clipboard'
'wtype'
'libnotify'
'systemd'
)
optdepends=(
'hyprland: For Hyprland window manager integration'
'sway: For Sway window manager integration'
)
provides=('hyprvoice')
conflicts=('hyprvoice')
source=(
"hyprvoice-${pkgver}::https://github.com/leonardotrapani/hyprvoice/releases/download/${pkgver}/hyprvoice-linux-x86_64"
"hyprvoice.service"
)
sha256sums=('340ef4adab613db6e7cbd7e021ec6cfc673079b94abb249c561ae14a8dfa8dbb'
'8aa6e8a4895294f6645acc096dc84b69b7138dca23ff11e590eaa10c55dad391')
install=hyprvoice.install
package() {
# Install binary
install -Dm755 "hyprvoice-${pkgver}" "${pkgdir}/usr/bin/hyprvoice"
# Install systemd service file
install -Dm644 hyprvoice.service "${pkgdir}/usr/lib/systemd/user/hyprvoice.service"
}