Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/shadow/PKGBUILD
blob: b625f5951c9f4492843fc19809cf6e629008d428 (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
# remove dependency on Gnome's xml2po on i486 (needed for building the
# man pages, draws in far too many dependencies)
makedepends=(${makedepends[@]//gnome-doc-utils/})
makedepends_i686+=(gnome-doc-utils)

# i486-specific
if [ "${CARCH}" = "i486" ]; then
  # remove dependency on Gnome's xml2po (needed for building the man pages,
  # draws in far too many dependencies)
  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