blob: 9fb0897df1247a296fdc8eabf1eb776d819431cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# we override almost everything
pkgver=20181204
pkgrel=1
pkgdesc='Tools for Arch Linux 32 package maintainers and build slave operators'
license=('GPL')
url='https://git.archlinux32.org/archlinux32/devtools32/'
source=(
"https://sources.archlinux32.org/sources/${pkgname}32-v${pkgver}.tar.gz"{,.sig}
)
if [ "${md5sums[0]}" = 'ed3c757184e633faeea09747a7b91bb1' ]; then
sha512sums=('779d3cc41e666889e2a5d4ebfa84b69504e2d6bd4190330b0990a4e676f097b504c4676df0e8adb461504fadd061d4fc2533f152801afd5f16fa885f5a6c80d8'
'SKIP')
validpgpkeys=('DE9F7688CACF04FEB81A6C590AEEC90755DA7B5A')
unset md5sums
fi
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' {} \;
}
eval "$(
declare -f prepare build check package | \
sed '
s/\(\${pkgname}\)-/\132-v/g
'
)"
|