Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/devtools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/devtools/PKGBUILD')
-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 "$(