diff options
-rw-r--r-- | pacman-mirrorlist32/PKGBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pacman-mirrorlist32/PKGBUILD b/pacman-mirrorlist32/PKGBUILD index 04b477a1..960edd3e 100644 --- a/pacman-mirrorlist32/PKGBUILD +++ b/pacman-mirrorlist32/PKGBUILD @@ -12,7 +12,9 @@ source=(archlinux32-packages::git+https://github.com/archlinux32/packages.git) sha512sums=('SKIP') pkgver() { - grep '^pkgver=' "$srcdir/archlinux32-packages/core/pacman-mirrorlist/PKGBUILD" | \ + git -C "$srcdir/archlinux32-packages" archive HEAD -- 'core/pacman-mirrorlist/PKGBUILD' | \ + tar -Ox | \ + grep '^pkgver=' | \ cut -d= -f2 } |