--- PKGBUILD.orig 2007-06-01 08:55:45.000000000 +0200 +++ PKGBUILD 2007-06-01 09:22:43.000000000 +0200 @@ -35,6 +35,10 @@ mkdir -p $startdir/pkg/opt/java mv linux-jdk/jre $startdir/pkg/opt/java + mkdir -p $startdir/pkg/usr/share/fonts/TTF + mv $startdir/pkg/opt/java/jre/lib/fonts/*.ttf $startdir/pkg/usr/share/fonts/TTF/ + rm -rf $startdir/pkg/opt/java/jre/lib/fonts + install -D -m755 $startdir/src/${pkgname}.profile $startdir/pkg/etc/profile.d/${pkgname}.sh # no plugin for x86_64 --- jre.install.orig 2007-06-01 08:55:33.000000000 +0200 +++ jre.install 2007-06-01 09:33:55.000000000 +0200 @@ -18,6 +18,11 @@ fi echo 'application/x-java-jnlp-file jnlp' >>/etc/mime.types + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." } post_remove() { @@ -33,6 +38,12 @@ else rm /etc/mime.types fi + + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." } op=$1