IGNOREPATH=/ STRIPLIB=n STRIPBIN=n PROGNAME="x11-fonts-100dpi $VERSION" DESC="\ x11-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 " SOURCE=ftp://ftp.x.org/pub/X11R6.7/tars/ SUBPKGNAME=x11-fonts-100dpi-$VERSION-noarch-$BUILD TAG=OPT subinstall() { echo "Nothing to install for x11-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 644 cd $SUBCTL cat $CWD/slack-desc/slack-desc.x11-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 }