mirror of
https://github.com/archlinux/aur.git
synced 2026-03-05 06:12:27 +01:00
Fix venv path issue in PKGBUILD
- Remove debug statements from package() function - Ensure venv is created in correct location after file copy - Bump pkgrel to 2
This commit is contained in:
parent
3747cef837
commit
bcaeb08e4f
2 changed files with 3 additions and 15 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 = 5
|
||||
pkgrel = 2
|
||||
url = https://github.com/goodroot/hyprwhspr
|
||||
install = hyprwhspr.install
|
||||
arch = x86_64
|
||||
|
|
|
|||
16
PKGBUILD
16
PKGBUILD
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgname=hyprwhspr
|
||||
pkgver=1.2.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Native Whisper speech-to-text for Arch/Omarchy with Waybar integration"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/goodroot/hyprwhspr"
|
||||
|
|
@ -40,19 +40,7 @@ sha256sums=(
|
|||
)
|
||||
|
||||
package() {
|
||||
# Debug: Show current directory and what we're trying to cd to
|
||||
echo "Current directory: $(pwd)"
|
||||
echo "Trying to cd to: ${srcdir}/${pkgname}-${pkgver}"
|
||||
echo "Source directory exists: $(test -d "${srcdir}/${pkgname}-${pkgver}" && echo "YES" || echo "NO")"
|
||||
|
||||
cd "${srcdir}/${pkgname}-${pkgver}" || {
|
||||
echo "ERROR: Failed to change to source directory: ${srcdir}/${pkgname}-${pkgver}"
|
||||
echo "Current directory: $(pwd)"
|
||||
exit 1
|
||||
}
|
||||
|
||||
echo "After cd, current directory: $(pwd)"
|
||||
echo "Contents of current directory: $(ls -la)"
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
# Create installation directory
|
||||
install -dm755 "${pkgdir}/opt/${pkgname}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue