mirror of
https://github.com/archlinux/aur.git
synced 2026-03-05 17:52:37 +01:00
Fix venv activation path issue
- Use venv's python directly instead of sourcing activate script - This avoids hardcoded build paths in activate script - Bump pkgrel to 3
This commit is contained in:
parent
bcaeb08e4f
commit
b8672ebb03
2 changed files with 5 additions and 5 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = hyprwhspr
|
||||
pkgdesc = Native Whisper speech-to-text for Arch/Omarchy with Waybar integration
|
||||
pkgver = 1.2.0
|
||||
pkgrel = 2
|
||||
pkgrel = 6
|
||||
url = https://github.com/goodroot/hyprwhspr
|
||||
install = hyprwhspr.install
|
||||
arch = x86_64
|
||||
|
|
|
|||
8
PKGBUILD
8
PKGBUILD
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname=hyprwhspr
|
||||
pkgver=1.2.0
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Native Whisper speech-to-text for Arch/Omarchy with Waybar integration"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/goodroot/hyprwhspr"
|
||||
|
|
@ -55,9 +55,9 @@ package() {
|
|||
# Create Python virtual environment and install pip-only dependencies
|
||||
cd "${pkgdir}/opt/${pkgname}"
|
||||
python -m venv venv
|
||||
source venv/bin/activate
|
||||
pip install --upgrade pip
|
||||
pip install sounddevice # Only dependency not available in Arch repos
|
||||
# Use the venv's python directly to avoid path issues
|
||||
./venv/bin/python -m pip install --upgrade pip
|
||||
./venv/bin/python -m pip install sounddevice # Only dependency not available in Arch repos
|
||||
|
||||
# Create symlink for easy access
|
||||
install -dm755 "${pkgdir}/usr/bin"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue