CWD=`pwd` VERSION=2.6.0.1 ARCH=noarch cd /tmp tar xjvf $CWD/gnome2-user-docs-$VERSION.tar.bz2 cd gnome2-user-docs-$VERSION chown -R root.root . find . -perm 666 -exec chmod 644 {} \; find . -perm 664 -exec chmod 644 {} \; ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib make make install mkdir -p /usr/doc/gnome2-user-docs-$VERSION cp -a \ AUTHORS COPYING COPYING-DOCS NEWS README \ /usr/doc/gnome2-user-docs-$VERSION mkdir -p /install cat $CWD/slack-desc > /install/slack-desc zcat $CWD/doinst.sh.gz > /install/doinst.sh