IGNOREPATH=/ STRIPLIB=y STRIPBIN=y PROGNAME="x11-docs $VERSION" DESC="\ x11-docs (text documentation for X) \n\ \n\ Documentation and release notes for X11 that you can find in \n\ /usr/X11R6/lib/X11/doc/." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.x.org/pub/X11R6.7/tars/ SUBPKGNAME=x11-docs-$VERSION-noarch-$BUILD TAG=REC subinstall() { echo "Nothing to install for x11-docs" } subspecial() { mkdir -p $SUBPKG/usr/X11R6/lib/X11/doc ( cd $TMP/xc/programs/Xserver/hw/xfree86/doc cp -a BUILD DESIGN Install LICENSE README README.XKB-Config README.XKB-Enhancing \ README.dps README.fonts RELNOTES ServersOnly Status Versions \ $SUBPKG/usr/X11R6/lib/X11/doc sed -e 's%XF86_VERSION%$VERSION%' BugReport.cpp > $SUBPKG/usr/X11R6/lib/X11/doc/BugReport ) cp -a $TMP/xm/usr/X11R6/lib/X11/doc/fontconfig* $SUBPKG/usr/X11R6/lib/X11/doc/ cp -a $TMP/xm/usr/X11R6/lib/X11/doc/freetype-2.1.7 $SUBPKG/usr/X11R6/lib/X11/doc/ chown -R root.root $SUBPKG find $SUBPKG/usr/X11R6/lib/X11/doc/ -type f -maxdepth 1 | xargs chmod 444 chmod 775 $SUBPKG/usr/X11R6/lib/X11/doc/freetype/ chmod 664 $SUBPKG/usr/X11R6/lib/X11/doc/freetype/* # chmod 644 $SUBPKG/usr/X11R6/lib/X11/doc/fontconfig-*/* cd $SUBCTL cat $CWD/slack-desc/slack-desc.x11-docs > slack-desc }