blob: 9192a74403c9b058b2d7dc1c7cc03d3750de9fb3 (
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=20180917
pkgrel=1
pkgdesc='Tools for Arch Linux 32 package maintainers'
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=('d68f97d926daf40047f73574daf656617b19a23eddb9394466de80f46bd4d6ccb3b09a2767caafa673b0a07a7e75bdf801de8f41d43f30eb9e77bed31a6008f6'
'SKIP')
validpgpkeys=('DE9F7688CACF04FEB81A6C590AEEC90755DA7B5A')
unset md5sums
fi
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 '
s/\(\${pkgname}\)-/\132-v/g
'
)"
|