39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Maintainer: Leonardo Trapani <leo@trapani.sh>
|
|
pkgname=hyprvoice-bin
|
|
pkgver=v0.1.7
|
|
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=('89657cb1a29aa56fb995d54f7fc4ed66ec315eb799cc66dff3c5dbfa59e0eef4'
|
|
'bc4d17afa3a56fc50b09faae4cef9faf2a4ec7f08798b4098ba41ad78b02ab20')
|
|
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"
|
|
}
|