aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 635b8ea4a0209..2844baf70dfac 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 402ce5e08e3df..0c3affa7ed56c 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"