#Maintainer: Grant Galbraith (omns) pkgname=pekwm pkgver=0.1.11 pkgrel=1 zenver=62 arch=i486 source=("http://www.pekwm.org/projects/pekwm/files/$pkgname-$pkgver.tar.bz2") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/omns/extra/xap/$pkgname docs=("AUTHORS" "changelog*" "install" "license" "news" "readme") url="http://pekwm.org/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "pekwm - Pek Window Manager" "The Pek Window Manager is written by Claes Nästen, 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." ) build() { #the desktop file mkdir -p $startdir/pkg/etc/X11/dm/Sessions cat <<- EOF> $startdir/pkg/etc/X11/dm/Sessions/pekwm.desktop [Desktop Entry] Encoding=UTF-8 Name=pekwm Comment=Pek Window Manager Exec=/etc/X11/xinit/xinitrc.pekwm ype=Application EOF #xinitrc file mkdir -p $startdir/pkg/etc/X11/xinit cat <<- EOF> $startdir/pkg/etc/X11/xinit/xinitrc.pekwm #!/bin/sh userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/etc/X11/xinit/.Xresources sysmodmap=/etc/X11/xinit/.Xmodmap # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $userresources ]; then xrdb -merge $userresources fi if [ -f $usermodmap ]; then xmodmap $usermodmap fi # start some nice programs pekwm EOF chmod +x $startdir/pkg/etc/X11/xinit/xinitrc.pekwm cd ${startdir}/src/$pkgname-${pkgver} ./configure --prefix=/usr make || return 1 make DESTDIR=${startdir}/pkg install }