aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasilis Papavasileiou <el03020@mail.ntua.gr>2010-05-11 14:03:47 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 14:03:47 +0200
commit3d005a5358e142ef310857c06f07201e16f54319 (patch)
tree776b58d9d9ce39e1cd2069fdcba059feb6a56bc5
parent6c885a900dcfbc1202c359b19a7ff89ed3ffb6d0 (diff)
desktop/pekwm: Initial import
-rw-r--r--desktop/pekwm/README14
-rw-r--r--desktop/pekwm/pekwm.SlackBuild63
-rw-r--r--desktop/pekwm/pekwm.info8
-rw-r--r--desktop/pekwm/slack-desc11
-rw-r--r--desktop/pekwm/xinitrc.pekwm26
5 files changed, 122 insertions, 0 deletions
diff --git a/desktop/pekwm/README b/desktop/pekwm/README
new file mode 100644
index 0000000000000..b24c6e4d67871
--- /dev/null
+++ b/desktop/pekwm/README
@@ -0,0 +1,14 @@
+pekwm is a small and flexible window manager.
+
+The Pek Window Manager is written by Claes Nsten, the code is based on the
+aewm++ window manager, but it has evolved enough that it no longer resembles
+aewm++ at all. It has a much expanded feature-set, including window grouping
+(similar to ion, pwm, or fluxbox), autoproperties, xinerama, keygrabber that
+supports keychains, and much more.
+
+ * Lightweight and Unobtrusive, a window manager shouldn't be noticed.
+ * Very configurable, we all work and think in different ways.
+ * Automatic properties, for all the lazy people, make things appear as
+ they should when starting applications.
+ * Chainable Keygrabber, usability for everyone.
+
diff --git a/desktop/pekwm/pekwm.SlackBuild b/desktop/pekwm/pekwm.SlackBuild
new file mode 100644
index 0000000000000..11c05f3fea21a
--- /dev/null
+++ b/desktop/pekwm/pekwm.SlackBuild
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Slackware build script for pekwm
+# Written by Vasilis Papavasileiou <el03020 at mail dot ntua dot gr>
+# Modified by the SlackBuilds.org project
+# (assumed to be in the public domain per our submission policy)
+
+PRGNAM=pekwm
+VERSION=0.1.5
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+# Sorry, no COPYING or LICENSE files in source
+DOCS="README AUTHORS ChangeLog INSTALL NEWS TODO"
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP || exit 1
+rm -rf $PRGNAM-$VERSION
+tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
+cd $PRGNAM-$VERSION || exit 1
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+# for xft-config (not necessary)
+PATH=$PATH:/usr/X11/bin
+
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/usr/share \
+ || exit 1
+
+make || exit 1
+make install DESTDIR=$PKG || exit 1
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+)
+
+# Add xinitrc.pekwm so that pekwm will show up as an option in xwmconfig
+install -D -m 0755 $CWD/xinitrc.pekwm $PKG/etc/X11/xinit/xinitrc.pekwm
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/desktop/pekwm/pekwm.info b/desktop/pekwm/pekwm.info
new file mode 100644
index 0000000000000..f16a50add85a6
--- /dev/null
+++ b/desktop/pekwm/pekwm.info
@@ -0,0 +1,8 @@
+PRGNAM="pekwm"
+VERSION="0.1.5"
+HOMEPAGE="http://pekwm.org/"
+DOWNLOAD="http://pekwm.org/files/pekwm-0.1.5.tar.bz2"
+MD5SUM="fe3e0d77250d27963991994f83ccb4ea"
+MAINTAINER="Vasilis Papavasileiou"
+EMAIL="el03020@mail.ntua.gr"
+APPROVED="rworkman"
diff --git a/desktop/pekwm/slack-desc b/desktop/pekwm/slack-desc
new file mode 100644
index 0000000000000..b69d0fbb074dc
--- /dev/null
+++ b/desktop/pekwm/slack-desc
@@ -0,0 +1,11 @@
+pekwm: pekwm (A small and flexible window manager)
+pekwm:
+pekwm: The Pek Window Manager (pekwm) is a small and flexible window manager
+pekwm: that aims to be usable. It supports grouping (a concept first
+pekwm: introduced by pwm), automatic properties, chainable keybindings, and
+pekwm: much more.
+pekwm:
+pekwm: Homepage: http://pekwm.org/
+pekwm:
+pekwm:
+pekwm:
diff --git a/desktop/pekwm/xinitrc.pekwm b/desktop/pekwm/xinitrc.pekwm
new file mode 100644
index 0000000000000..d24b870b51ade
--- /dev/null
+++ b/desktop/pekwm/xinitrc.pekwm
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
+sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+
+if [ -f $sysresources ]; then
+ /usr/X11R6/bin/xrdb -merge $sysresources
+fi
+
+if [ -f $sysmodmap ]; then
+ /usr/X11R6/bin/xmodmap $sysmodmap
+fi
+
+if [ -f $userresources ]; then
+ /usr/X11R6/bin/xrdb -merge $userresources
+fi
+
+if [ -f $usermodmap ]; then
+ /usr/X11R6/bin/xmodmap $usermodmap
+fi
+
+exec pekwm