aur setup
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
# Maintainer: Leonardo Trapani <leo@trapani.sh>
|
||||
pkgname=hyprvoice-bin
|
||||
pkgver=0.1.0
|
||||
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/v${pkgver}/hyprvoice-linux-x86_64"
|
||||
"hyprvoice.service"
|
||||
)
|
||||
sha256sums=('SKIP' # Update this with: updpkgsums after first release
|
||||
'SKIP') # Update this with: sha256sum hyprvoice.service
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user