IGNOREPATH=/
STRIPLIB=y
STRIPBIN=y

PROGNAME="XFree86 $VERSION"
DESC="\
xfree86-fonts-100dpi (100dpi screen fonts for the X Window System)     \n\
                                                                       \n\
These extra fonts are useful on high-resolution monitors."

BUILD=1
MAINTAINER="Mark Post <mark.post@eds.com>"
SOURCE=http://www.xfree86.org
SUBPKGNAME=xfree86-fonts-100dpi-$VERSION-s390-$BUILD
TAG=OPT

subinstall() {
   echo "Nothing to install for xfree86-fonts-100dpi"
}

subspecial() {
   mkdir -p $SUBPKG/usr/X11R6/lib/X11/fonts/
   cp -a $TMP/xm/usr/X11R6/lib/X11/fonts/100dpi $SUBPKG/usr/X11R6/lib/X11/fonts/

   chown -R root.root $SUBPKG
   find $SUBPKG/usr/X11R6/lib/X11/fonts/ -type f | xargs chmod 444

   cd $SUBCTL
   cat $CWD/slack-desc/slack-desc.xfree86-fonts-100dpi > slack-desc

   cat << EOF >> doinst.sh
#!/bin/sh
# Update the X font indexes:
if [ -x /usr/X11R6/bin/fc-cache ]; then
  /usr/X11R6/bin/fc-cache -f
fi
# else we'll catch it later with setup.fontconfig :-)
# make links:
EOF
}

