summaryrefslogtreecommitdiff
path: root/pacman-mirrorlist32
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-16 11:06:42 +0100
committerErich Eckner <git@eckner.net>2017-11-16 11:06:42 +0100
commit72978fd240e183eb12487564707657b2e4e185e9 (patch)
treec133ec0f230b9a23f63dbc335063fbc8b77b77a7 /pacman-mirrorlist32
parent30d72e85d11c4033064ed6b3849ddfea13b07e54 (diff)
downloadarchlinuxewe-72978fd240e183eb12487564707657b2e4e185e9.tar.xz
pacman-mirrorlist32: change pkgver() to conform the needs of checkVersions
Diffstat (limited to 'pacman-mirrorlist32')
-rw-r--r--pacman-mirrorlist32/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/pacman-mirrorlist32/PKGBUILD b/pacman-mirrorlist32/PKGBUILD
index 04b477a18..960edd3e2 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
}