summaryrefslogtreecommitdiff
path: root/extra/gtk4/PKGBUILD
blob: aec4705a275c72b0a49f63bfee1cb4e57ed54acf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# do not build documentation, depends on too many broken things
eval "$(
  declare -f build | \
    sed '
      s/-D gtk_doc=true/-D gtk_doc=false/
      s/-D man-pages=true/-D man-pages=false/
      s/ninja -C build g{d,s,t}k4-doc/ninja -C build/
    '
  declare -f package_gtk4 | \
    sed '
      /gtk4-update-icon-cache.1/d
      /usr\/share\/man\/man1/d
      \@usr/share/doc@ d
    '
  declare -f package_gtk-update-icon-cache | \
    sed '
      /gtk4-update-icon-cache.1/d
    '
  declare -f package_gtk4-docs | \
    sed '
      /^\s*mv /d
    '
)"