blob: a7c7c157bda944b76652bbc6a9a31483b88c1dd1 (
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
|
# we override almost everything
pkgver=20190131
pkgrel=2
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=('19da65d750dc0dfb9544575cc5044a315907caf2604cb1e48109ba9c0694d3db990ada5d597eb93f824255c05ce2bb7a1c7a20c7b0d919efa3077c1b314a9a42'
'SKIP')
validpgpkeys=('DE9F7688CACF04FEB81A6C590AEEC90755DA7B5A')
unset md5sums
fi
makedepends+=('asciidoc')
prepare() {
cd "${srcdir}/${pkgname}32-v${pkgver}"
sed -i 's/mirrorlist32/mirrorlist/g' 'arch-nspawn.in'
sed -i 's@s,/mirrorlist\$\$,\\032,;\?@@' 'Makefile'
}
eval "$(
declare -f prepare build check package | \
sed '
s/\(\${pkgname}\)-/\132-v/g
'
)"
|