diff options
Diffstat (limited to 'desktop/wmii')
-rw-r--r-- | desktop/wmii/README | 15 | ||||
-rw-r--r-- | desktop/wmii/wmii.SlackBuild | 36 | ||||
-rw-r--r-- | desktop/wmii/wmii.info | 4 |
3 files changed, 38 insertions, 17 deletions
diff --git a/desktop/wmii/README b/desktop/wmii/README index c39136f7ca..b91a02357b 100644 --- a/desktop/wmii/README +++ b/desktop/wmii/README @@ -1,10 +1,11 @@ wmii - window manager improved 2 -wmii is a dynamic window manager for X11. It supports classic and dynamic -window management with extended keyboard, mouse, and filesystem based remote -control. It replaces the workspace paradigm with a new tagging approach. Its -minimalist philosophy attempts to not exceed 10.000 lines of code (including -all shipped utilities and libraries), to enforce simplicity and clarity. +wmii is a dynamic window manager for X11. It supports classic and +dynamic window management with extended keyboard, mouse, and filesystem +based remote control. It replaces the workspace paradigm with a new +tagging approach. Its minimalist philosophy attempts to not exceed +10.000 lines of code (including all shipped utilities and libraries), +to enforce simplicity and clarity. -If you plan to use plan9port, python or ruby scripting support you should also -install required interpreters at run time. +If you plan to use plan9port, python or ruby scripting support you +should also install required interpreters at run time. diff --git a/desktop/wmii/wmii.SlackBuild b/desktop/wmii/wmii.SlackBuild index 1eda186152..3d309cfa53 100644 --- a/desktop/wmii/wmii.SlackBuild +++ b/desktop/wmii/wmii.SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for wmii - +# Now maintained by Dave Woodfall <dave@slackbuilds.org> # Copyright (c) 2011, Marco Bonetti <sid77@slackware.it> # All rights reserved. # Maintenance adopted 11.02.2015 Glenn Becker <glenn.becker@gmail.com> @@ -24,11 +24,14 @@ # Thanks to selkfoster <selkfoster@gmail.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=wmii SRCNAM=wmii+ixp VERSION=${VERSION:-3.9.2} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -77,12 +87,20 @@ patch -p1 < $CWD/wmii-3.9.2-config_mk.diff # Fixup mk/hdr.mk patch -p1 < $CWD/wmii-3.9.2-mk_hdr_mk.diff +# Fix the man pages +sed -zi 's,\.P[^@]@DOCDIR@/wmii\.pdf,,' man/wmii.1 +sed -i "s,@DOCDIR@,/usr/doc/$PRGNAM-$VERSION,g" man/wmii.1 +sed -i "s,@CONFPREFIX@,/etc,g" man/wmii.1 + +export CFLAGS="$SLKCFLAGS -fcommon" + LDFLAGS="-lX11 -lXrender" \ make \ OPT="$SLKCFLAGS" \ PREFIX=/usr \ MAN=/usr/man \ ETC=/etc \ + DOC=/usr/doc/$PRGNAM-$VERSION \ LIBDIRSUFFIX=${LIBDIRSUFFIX} make install \ @@ -90,6 +108,7 @@ make install \ PREFIX=$PKG/usr \ MAN=$PKG/usr/man \ ETC=$PKG/etc \ + DOC=$PKG/usr/doc/$PRGNAM-$VERSION \ LIBDIRSUFFIX=${LIBDIRSUFFIX} # Add wmii to xwmconfig's list... @@ -111,15 +130,16 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -exec gzip -9 {} \; -mv $PKG/usr/share/doc $PKG/usr -mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +# The directories were there, but no files +cp -r alternative_wmiircs $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -( cd $PKG/usr/doc ; ln -s $PRGNAM-$VERSION $PRGNAM ) +# hmm? +#( cd $PKG/usr/doc ; ln -s $PRGNAM-$VERSION $PRGNAM ) mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/desktop/wmii/wmii.info b/desktop/wmii/wmii.info index 9a17eb1c4e..38732813d0 100644 --- a/desktop/wmii/wmii.info +++ b/desktop/wmii/wmii.info @@ -6,5 +6,5 @@ MD5SUM="3d480502b7b1e2a405d941df67f16bcf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="orphaned - no maintainer" -EMAIL="nobody@nowhere" +MAINTAINER="D Woodfall" +EMAIL="dave@slackbuilds.org" |