From 896a6593e69ba7a3b69e11ee1ce94ed5cbc9a407 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 1 Feb 2019 11:02:53 +0100 Subject: extra/devtools: fix the mirrorlist32->mirrorlist patching --- extra/devtools/PKGBUILD | 12 +++--------- 1 file 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 "$( -- cgit v1.2.3-70-g09d2