IGNOREPATH=/ STRIPLIB=n STRIPBIN=n PROGNAME="x11-fonts-scale $VERSION" DESC="\ x11-fonts-scale (scalable screen fonts for the X Window System) ) \n\ \n\ Speedo, Type 1, and TrueType scalable fonts for X." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.x.org/pub/X11R6.7/tars/ SUBPKGNAME=x11-fonts-scale-$VERSION-noarch-$BUILD TAG=OPT subinstall() { echo "Nothing to install for x11-fonts-scale" } subspecial() { mkdir -p $SUBPKG/usr/X11R6/lib/X11/fonts/Speedo \ $SUBPKG/usr/X11R6/lib/X11/fonts/Type1 \ $SUBPKG/usr/X11R6/lib/X11/fonts/TTF cp -a $TMP/xm/usr/X11R6/lib/X11/fonts/Speedo \ $TMP/xm/usr/X11R6/lib/X11/fonts/Type1 \ $TMP/xm/usr/X11R6/lib/X11/fonts/TTF \ $SUBPKG/usr/X11R6/lib/X11/fonts/ chown -R root.root $SUBPKG cd $SUBCTL cat $CWD/slack-desc/slack-desc.x11-fonts-scale > 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 }