blob: e3c4be2e86434a04e301e95cfd00c69860e1198b (
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
36
37
38
39
|
# we override almost everything
pkgver=20221208
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}
)
sha512sums=('c68a57ec7dbfa973f5b8f4b64d741ac17b04b1c2533786d1ce56bf4534f71153a24615e26895978fbcb3943e5477d891136d18fecef281a940b9079b6b5bd40a'
'SKIP')
validpgpkeys=('DE9F7688CACF04FEB81A6C590AEEC90755DA7B5A')
unset sha256sums
unset md5sums
unset b2sums
makedepends+=('asciidoc')
eval "$(
{
printf 'prepare() {\n}\n'
} \
| sed '
$i cd "${srcdir}/${pkgname}32-v${pkgver}" \
sed -i '"'"' \
s,\\\$working_dir/etc/pacman\\\.d/mirrorlist32,/dev/null, \
s/mirrorlist32/mirrorlist/g \
'"'"' '"'"'src/arch-nspawn.in'"'"' \
sed -i '"'"'\\@s,/mirrorlist\\\\\\\$\\\$,\\\\032,;\\?@d'"'"' '"'"'Makefile'"'"'
'
)"
eval "$(
declare -f prepare build check package | \
sed '
s/\(\${pkgname}\)-/\132-v/g
'
)"
|