diff options
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -36,12 +36,12 @@ source=('git+https://github.com/linuxmint/warpinator.git') sha256sums=('SKIP') pkgver() { - cd "$srcdir/${pkgname%-git}" + cd "${pkgname%-git}" git describe --long --tags --exclude master* | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { - cd "$srcdir/${pkgname%-git}" + cd "${pkgname%-git}" # Fix hard-coded libexec dir find . -type f -exec sed -i 's/libexec/lib/g' {} \; @@ -49,7 +49,7 @@ prepare() { } build() { - arch-meson "${pkgname%-git}" build \ + arch-meson "${pkgname%-git}" build \ -Dbundle-zeroconf=false \ -Dbundle-grpc=false \ -Dbundle-landlock=false @@ -59,7 +59,7 @@ build() { check() { desktop-file-validate "build/data/${_desktop_id}.desktop" - desktop-file-validate "$srcdir/${pkgname%-git}/data/${pkgname%-git}-autostart.desktop" + desktop-file-validate "${pkgname%-git}/data/${pkgname%-git}-autostart.desktop" appstream-util validate --nonet "build/data/${_desktop_id}.appdata.xml" } |