TMP=/tmp CWD=`pwd` PKG=$TMP/package-rxvt rm -rf $PKG mkdir -p $PKG VERSION=2.7.10 ARCH=x86_64 BUILD=1 cd $TMP rm -rf rxvt-$VERSION tar xjvf $CWD/rxvt-$VERSION.tar.bz2 cd rxvt-$VERSION chown -R root.root . zcat $CWD/rxvt.utempter.diff.gz | patch -p1 --verbose --backup --suffix=.orig LDFLAGS=-L/usr/lib64 \ CFLAGS="-O2 -fPIC" \ ./configure \ --prefix=/usr/X11R6 \ --enable-languages \ --enable-utmp \ --enable-wtmp \ --enable-xpm-background \ --enable-transparency \ --enable-menubar \ --enable-graphics \ --enable-rxvt-scroll \ --enable-next-scroll \ --enable-xterm-scroll \ --enable-xim \ --enable-frills \ --enable-linespace \ --enable-24bit \ --enable-keepscrolling \ --enable-mousewheel \ --enable-slipwheeling \ --enable-old-selection \ $ARCH-slackware-linux make make install DESTDIR=$PKG strip --strip-unneeded $PKG/usr/X11R6/bin/* rmdir $PKG/usr/X11R6/lib{64,} $PKG/usr/X11R6/include rm $PKG/usr/X11R6/bin/rxvt-$VERSION chown -R root.bin $PKG/usr/X11R6/bin mkdir -p $PKG/usr/doc/rxvt-$VERSION cp -a \ rxvt-$VERSION.lsm doc rclock/rclock.html \ $PKG/usr/doc/rxvt-$VERSION rm -r $PKG/usr/doc/rxvt-$VERSION/doc/yodl gzip -9 $PKG/usr/X11R6/man/man1/* mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG makepkg -l y -c n $TMP/rxvt-$VERSION-$ARCH-$BUILD.tgz