aboutsummaryrefslogtreecommitdiff
path: root/desktop/xvkbd
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:38:11 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:38:11 +0200
commit9a4a6f12863489da4d91f78f9c1e179f41eb448f (patch)
treee06a8cc4647db75748fb80f23920ca6656cd8b55 /desktop/xvkbd
parentdcb1c26fb29c91e9f8746242aca7f83f9290fccc (diff)
desktop/xvkbd: Updated for version 3.0
Diffstat (limited to 'desktop/xvkbd')
-rw-r--r--desktop/xvkbd/xvkbd.SlackBuild17
-rw-r--r--desktop/xvkbd/xvkbd.info8
2 files changed, 13 insertions, 12 deletions
diff --git a/desktop/xvkbd/xvkbd.SlackBuild b/desktop/xvkbd/xvkbd.SlackBuild
index 635b8ea4a020..2844baf70dfa 100644
--- a/desktop/xvkbd/xvkbd.SlackBuild
+++ b/desktop/xvkbd/xvkbd.SlackBuild
@@ -1,13 +1,14 @@
-#!/bin/sh
+#!/bin/sh -eu
# Slackware build script for xvkbd
# Written by Erik Hanson erik@slackbuilds.org
PRGNAM=xvkbd
-VERSION=2.8
+VERSION=3.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -15,17 +16,17 @@ OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
mkdir -p $TMP $PKG
-cd $TMP
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-xmkmf || exit 1
-make || exit 1
-make install DESTDIR=$PKG || exit 1
-make install.man DESTDIR=$PKG || exit 1
+xmkmf
+make
+make install DESTDIR=$PKG
+make install.man DESTDIR=$PKG
strip --strip-unneeded $PKG/usr/bin/*
gzip -9 $PKG/usr/man/man?/*
diff --git a/desktop/xvkbd/xvkbd.info b/desktop/xvkbd/xvkbd.info
index 402ce5e08e3d..0c3affa7ed56 100644
--- a/desktop/xvkbd/xvkbd.info
+++ b/desktop/xvkbd/xvkbd.info
@@ -1,8 +1,8 @@
PRGNAM="xvkbd"
-VERSION="2.8"
+VERSION="3.0"
HOMEPAGE="http://homepage3.nifty.com/tsato/xvkbd/"
-DOWNLOAD="http://homepage3.nifty.com/tsato/xvkbd/xvkbd-2.8.tar.gz"
-MD5SUM="d00d367a8158ccd04ff21f2fc35dafe1"
+DOWNLOAD="http://homepage3.nifty.com/tsato/xvkbd/xvkbd-3.0.tar.gz"
+MD5SUM="72fd96feeb2a589b2b68e9fa387afb0b"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="BP{k}"
+APPROVED="dsomero"