mirror of
https://github.com/archlinux/aur.git
synced 2026-03-05 02:52:16 +01:00
Add debugging to PKGBUILD and bump pkgrel to 4
- Add echo statements to show current directory and cd target - Add error handling for cd command failure - Bump pkgrel to 4 to trigger AUR package database update - This will help identify why cp is copying from wrong directory
This commit is contained in:
parent
4a09f4c1d7
commit
7fd34dd002
2 changed files with 14 additions and 2 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 = 3
|
||||
pkgrel = 4
|
||||
url = https://github.com/goodroot/hyprwhspr
|
||||
install = hyprwhspr.install
|
||||
arch = x86_64
|
||||
|
|
|
|||
14
PKGBUILD
14
PKGBUILD
|
|
@ -40,7 +40,19 @@ sha256sums=(
|
|||
)
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
# 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)"
|
||||
|
||||
# Create installation directory
|
||||
install -dm755 "${pkgdir}/opt/${pkgname}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue