Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/archinstall
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-05-01 20:57:47 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-05-01 20:57:47 +0200
commitf12b8636fb112d0b98d029c9104ba4f40f19be20 (patch)
treef9d8ed92b03a78c712a721b798cbcb134f00a77f /extra/archinstall
parenta59f079040df084c4bbd795edc5ceb5e2af18818 (diff)
extra/archinstall: adapted to use arch32 version from sources.archlinux32.org (as reflector)
Diffstat (limited to 'extra/archinstall')
-rw-r--r--extra/archinstall/PKGBUILD29
1 files changed, 27 insertions, 2 deletions
diff --git a/extra/archinstall/PKGBUILD b/extra/archinstall/PKGBUILD
index e9316ca8..6a243f9b 100644
--- a/extra/archinstall/PKGBUILD
+++ b/extra/archinstall/PKGBUILD
@@ -1,6 +1,31 @@
+_pkgver=v2.4.2-3-g74be393
+
+source=(
+ "https://sources.archlinux32.org/sources/archinstall32-${_pkgver}.tar.gz"{,.sig}
+)
+sha512sums=('7eec584a739ad3080bdf040c343cf2449569e401d782b477785d51843cf9d7edd3d33c4800a3d6372c2a61d16ec90b3446e2f7a04fc9bbfdaecababff36840d8'
+ 'SKIP')
+b2sums=('208a2c6dc00e6c0db1ad138def14e80a4f292da5ad539f2f506af465b2a691c26ffb9d32f0586f03dc93b1c629892d316bcadf1fe506a8f50c09b28530ef715e'
+ 'SKIP')
+validpgpkeys=('DE9F7688CACF04FEB81A6C590AEEC90755DA7B5A' '38ACA6A026D25CDD227D24832F6399DCD2212195' '16194A82231E9EF823562181C8E8F5A0AF9BA7E7')
+
eval "$(
- declare -f prepare || printf 'prepare ()\n{\n}\n' \
+ declare -f prepare | \
| sed '
- 2 a find "$srcdir/$pkgbase-$pkgver" -type f -exec sed -i '"'"'s@/archlinux\\.org/@/archlinux32.org/@g'"'"' {} +
+ s/\$pkgname-\$pkgver/${pkgname}32-${_pkgver}/
'
)"
+
+eval "$(
+ declare -f build | \
+ sed '
+ s/\$pkgname-\$pkgver/${pkgname}32-${_pkgver}/
+ '
+)"
+
+eval "$(
+ declare -f package | \
+ sed '
+ s/\$pkgname-\$pkgver/${pkgname}32-${_pkgver}/
+ '
+)"