summaryrefslogtreecommitdiff
path: root/extra/devtools
diff options
context:
space:
mode:
Diffstat (limited to 'extra/devtools')
-rw-r--r--extra/devtools/PKGBUILD16
1 files changed, 14 insertions, 2 deletions
diff --git a/extra/devtools/PKGBUILD b/extra/devtools/PKGBUILD
index 24102072..844c0fe1 100644
--- a/extra/devtools/PKGBUILD
+++ b/extra/devtools/PKGBUILD
@@ -1,6 +1,6 @@
# we override almost everything
-pkgver=20180620
+pkgver=20180626
pkgrel=1
pkgdesc='Tools for Arch Linux 32 package maintainers'
license=('GPL')
@@ -8,11 +8,23 @@ url='https://git.archlinux32.org/archlinux32/devtools32/'
source=(
"https://sources.archlinux32.org/sources/${pkgname}32-v${pkgver}.tar.gz"{,.sig}
)
-sha512sums=('c57e5e038f4e910587a49469282b2280a5168b8d337d2caf6de2a65aba8298dc220a448808827a43136ade07eea88192a9268c4d1921f47adb9e6c91c7a6c464'
+sha512sums=('36581ab6feef8a26228e69ca0ede0847a24aae7b9bed1bd11af7e2124ee515ecc7fdd9362d77ac1d4263606c42929b29b98e4b5543148d9302eea4754c299e25'
'SKIP')
validpgpkeys=('DE9F7688CACF04FEB81A6C590AEEC90755DA7B5A')
unset md5sums
+prepare() {
+ cd "${srcdir}/${pkgname}32-v${pkgver}"
+ find . \
+ -maxdepth 1 \
+ -type f \
+ \( \
+ -name 'pacman-*-i686.conf' -o \
+ -name 'arch-nspawn.in' \
+ \) \
+ -exec sed -i 's/mirrorlist32/mirrorlist/g' {} \;
+}
+
eval "$(
declare -f prepare build check package | \
sed '