IGNOREPATH=/
STRIPLIB=y
STRIPBIN=y

PROGNAME="XFree86 $VERSION"
DESC="\
(Cyrillic fonts for the X Window System)                               \n\
                                                                       \n\
A set of Cyrillic fonts for XFree86."

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

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

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

   chown -R root.root $SUBPKG

   cd $SUBCTL
   cat $CWD/slack-desc/slack-desc.xfree86-fonts-cyrillic > 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
}

