diff options
Diffstat (limited to 'system/numlockx')
-rw-r--r-- | system/numlockx/README | 1 | ||||
-rw-r--r-- | system/numlockx/numlockx.SlackBuild | 16 | ||||
-rw-r--r-- | system/numlockx/numlockx.info | 6 | ||||
-rw-r--r-- | system/numlockx/slack-desc | 9 |
4 files changed, 18 insertions, 14 deletions
diff --git a/system/numlockx/README b/system/numlockx/README index 396a3a8f47..a0832aa8d0 100644 --- a/system/numlockx/README +++ b/system/numlockx/README @@ -28,4 +28,3 @@ numlockx edit to the "master" files in /etc/X11/xinit/ for each of the installed window managers, and this will allow you to change window managers without losing the numlockx functionality. However, be aware that an upgrade to any of the window managers involved might/will overwrite your changes. - diff --git a/system/numlockx/numlockx.SlackBuild b/system/numlockx/numlockx.SlackBuild index 42eb073ed0..e81e4fbdfa 100644 --- a/system/numlockx/numlockx.SlackBuild +++ b/system/numlockx/numlockx.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for NumLockX -# Copyright 2007 MagicMan <MagicMan07@bluebottle.com> +# Copyright 2007 Frank Caraballo <fecaraballo[AT]gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,11 +24,6 @@ # Modified by the SlackBuilds.org project -if [ "$(id -u)" != "0" ]; then - echo "This script must be run as root!" - exit 1 -fi - set -e PRGNAM=numlockx @@ -36,7 +31,7 @@ VERSION=1.1 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -55,15 +50,16 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION - chown -R root:root . chmod -R u+w,go+r-w,a-s . -CFLAGS="$SLKCFLAGS" \ +#CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ - --localstatedir=/var + --localstatedir=/var \ + --x-includes=/usr/include \ + --x-libraries=/usr/lib make make install-strip DESTDIR=$PKG diff --git a/system/numlockx/numlockx.info b/system/numlockx/numlockx.info index 72667b95f5..11c9633ca4 100644 --- a/system/numlockx/numlockx.info +++ b/system/numlockx/numlockx.info @@ -3,6 +3,6 @@ VERSION="1.1" HOMEPAGE="http://ktown.kde.org/~seli/numlockx/" DOWNLOAD="http://ktown.kde.org/~seli/numlockx/numlockx-1.1.tar.gz" MD5SUM="127d9dfbbbe6dbec62cc78db340f913c" -MAINTAINER="MagicMan" -EMAIL="MagicMan07@bluebottle.com" -APPROVED="robw810" +MAINTAINER="Frank Caraballo" +EMAIL="fecaraballo[AT]gmail.com" +APPROVED="rworkman" diff --git a/system/numlockx/slack-desc b/system/numlockx/slack-desc index 4b25ad79b1..e88373cd91 100644 --- a/system/numlockx/slack-desc +++ b/system/numlockx/slack-desc @@ -1,3 +1,11 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| numlockx: NumLockX (Start X with NumLock Turned On) numlockx: numlockx: This little thingy allows you to start X with NumLock turned @@ -8,3 +16,4 @@ numlockx: Homepage: http://ktown.kde.org/~seli/numlockx/ numlockx: numlockx: numlockx: +numlockx: |