Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/shadow/PKGBUILD
blob: ef3f908cc043558a4932a51d607fd501941f0fe5 (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
# i486-specific
if [ "${CARCH}" = "i486" ]; then
  # remove dependency on Gnome's xml2po (needed for building the man pages,
  # draws in far too many dependencies)
  makedepends=(${makedepends[@]//gnome-doc-utils/})
  
  eval "$(
    declare -f prepare | \
      sed '
        /autoreconf/ i \ sed -i "/SUBDIRS/s/man//g" Makefile.am
      '
  )"
  eval "$(
    declare -f build | \
      sed '
        s/--enable-man/--disable-man/
      '
  )"
  eval "$(
    declare -f package | \
      sed '
        /find.*man/d
        /rmdir.*man/d
      '
  )"
fi