summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-01 11:02:53 +0100
committerErich Eckner <git@eckner.net>2019-02-01 11:02:53 +0100
commit896a6593e69ba7a3b69e11ee1ce94ed5cbc9a407 (patch)
treed5df4c45d1370c6c55779058bb88de9caaf68f04
parent5770b91abfccf5be31f807f094e85d9ee0089caa (diff)
downloadpackages-896a6593e69ba7a3b69e11ee1ce94ed5cbc9a407.tar.xz
extra/devtools: fix the mirrorlist32->mirrorlist patching
-rw-r--r--extra/devtools/PKGBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/extra/devtools/PKGBUILD b/extra/devtools/PKGBUILD
index 6973cc45..a7c7c157 100644
--- a/extra/devtools/PKGBUILD
+++ b/extra/devtools/PKGBUILD
@@ -1,7 +1,7 @@
# we override almost everything
pkgver=20190131
-pkgrel=1
+pkgrel=2
pkgdesc='Tools for Arch Linux 32 package maintainers and build slave operators'
license=('GPL')
url='https://git.archlinux32.org/archlinux32/devtools32/'
@@ -19,14 +19,8 @@ makedepends+=('asciidoc')
prepare() {
cd "${srcdir}/${pkgname}32-v${pkgver}"
- find . \
- -maxdepth 1 \
- -type f \
- \( \
- -name 'pacman-*-32.conf' -o \
- -name 'arch-nspawn.in' \
- \) \
- -exec sed -i 's/mirrorlist32/mirrorlist/g' {} \;
+ sed -i 's/mirrorlist32/mirrorlist/g' 'arch-nspawn.in'
+ sed -i 's@s,/mirrorlist\$\$,\\032,;\?@@' 'Makefile'
}
eval "$(