summaryrefslogtreecommitdiff
path: root/extra/java7-openjdk/PKGBUILD
blob: 5015ea4a72d13ca0242c4beb12651bbada33ac4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# gtk2 is an optdepend
makedepends=(${makedepends[@]//gtk2/})
makedepends_i686+=(gtk2)
makedepends_pentium4=("${makedepends_i686[@]}")

# i486-specific
if [ "${CARCH}" = "i486" ]; then
  _JARCH=i386
fi

# pentium4-specific
if [ "${CARCH}" = "pentium4" ]; then
  _JARCH=i386
  _DOC_ARCH=x86
fi

_nonheadless=(
  "${_nonheadless[@]/\/\///${_JARCH}/}"
)
_imgdir="${_imgdir//--/-${_JARCH}-}"