WINDOWMAKER_VER=0.65.0 LIBPROPLIST_VER=0.10.1 VERSION=$WINDOWMAKER_VER BUILD=1 ARCH=i386 TAG=OPT PKGNAME=wmaker MAINTAINER="tg " IGNOREPATH=/tmp:/proc:/dev:/root:/var/log:/home:/usr/local STRIPLIB=y STRIPBIN=y PROGNAME="Window Maker" DESC="\ WindowMaker-$VERSION\n\ \n\ Window Maker is the GNU window manager for the X Window System. It\n\ was designed to emulate the look and feel of part of the NEXTSTEP(tm)\n\ GUI. It's supposed to be relatively fast and small, feature rich,\n\ easy to configure and easy to use, with a simple and elegant\n\ appearance borrowed from NEXTSTEP(tm). Window Maker was designed\n\ keeping integration with GNUstep in mind and is the "official" window\n\ manager for it." compile() { mkdir -p /usr/X11R6/etc # build and install libproplist cd $TMP tar xvzf $CWD/libPropList-$LIBPROPLIST_VER.tar.gz cd libPropList-$LIBPROPLIST_VER CFLAGS=-O2 ./configure --prefix=/usr/X11R6 $ARCH-slackware-linux make make install # build windowmaker cd $TMP tar xvzf $CWD/WindowMaker-$VERSION.tar.gz cd WindowMaker-$VERSION LINGUAS="`cd po ; /bin/ls *.po | sed 's/.po//g'`" \ CFLAGS=-O2 ./configure --prefix=/usr/X11R6 \ --enable-gnome \ --enable-kde \ --enable-usermenu \ $ARCH-slackware-linux make # build windowmaker-extra cd $TMP tar xvzf $CWD/WindowMaker-extra-0.1.tar.gz cd WindowMaker-extra-0.1 CFLAGS=-O2 ./configure --prefix=/usr/X11R6 \ --with-iconsdir=/usr/X11R6/share/pixmaps \ $ARCH-slackware-linux make } install() { # install libproplist cd $TMP/libPropList-$LIBPROPLIST_VER make install # install windowmaker cd $TMP/WindowMaker-$VERSION make -i install mkdir -p /usr/doc/WindowMaker-$VERSION cp AUTHORS BUGFORM BUGS COPYING COPYING.OPL FAQ FAQ.I18N NEWS README \ README.GNOME TODO /usr/doc/WindowMaker-$VERSION # install windowmaker-extra cd $TMP/WindowMaker-extra-0.1 make install # other stuff ( cd /usr/X11R6/bin ; zcat $CWD/wmaker.inst.diff.gz | patch -p1 ) cp $CWD/xinitrc.wmaker /etc/X11/xinit/xinitrc.wmaker } attributes() { chown root.root $PKG/etc/X11/xinit/xinitrc.wmaker chmod 755 $PKG/etc/X11/xinit/xinitrc.wmaker }