mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-28 03:20:39 +02:00
desktop/pekwm: Initial import
This commit is contained in:
parent
6c885a900d
commit
3d005a5358
5 changed files with 122 additions and 0 deletions
14
desktop/pekwm/README
Normal file
14
desktop/pekwm/README
Normal file
|
@ -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.
|
||||
|
63
desktop/pekwm/pekwm.SlackBuild
Normal file
63
desktop/pekwm/pekwm.SlackBuild
Normal file
|
@ -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
|
8
desktop/pekwm/pekwm.info
Normal file
8
desktop/pekwm/pekwm.info
Normal file
|
@ -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"
|
11
desktop/pekwm/slack-desc
Normal file
11
desktop/pekwm/slack-desc
Normal file
|
@ -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:
|
26
desktop/pekwm/xinitrc.pekwm
Normal file
26
desktop/pekwm/xinitrc.pekwm
Normal file
|
@ -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
|
Loading…
Reference in a new issue