aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:39:19 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:39:19 +0200
commitfa216410db68135df67deb45c7fabd0e05c906d2 (patch)
tree62a32967a014bace9a0b3d29973976f596eab7ca /games
parent5bde0c9828c28b383dbe923f4a1e13d691dc2f28 (diff)
games/kobodeluxe: Updated for version 0.5.1
Diffstat (limited to 'games')
-rw-r--r--games/kobodeluxe/doinst.sh4
-rw-r--r--games/kobodeluxe/kobodeluxe.SlackBuild19
-rw-r--r--games/kobodeluxe/kobodeluxe.info8
3 files changed, 15 insertions, 16 deletions
diff --git a/games/kobodeluxe/doinst.sh b/games/kobodeluxe/doinst.sh
index f2372aa17e76..ef0cf43a90f3 100644
--- a/games/kobodeluxe/doinst.sh
+++ b/games/kobodeluxe/doinst.sh
@@ -1,3 +1,3 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database usr/share/applications &> /dev/null
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database usr/share/applications &> /dev/null
fi
diff --git a/games/kobodeluxe/kobodeluxe.SlackBuild b/games/kobodeluxe/kobodeluxe.SlackBuild
index 8a64126fa734..caffbcba79a6 100644
--- a/games/kobodeluxe/kobodeluxe.SlackBuild
+++ b/games/kobodeluxe/kobodeluxe.SlackBuild
@@ -1,11 +1,11 @@
-#!/bin/sh
+#!/bin/sh -eu
# Slackware build script for Kobo Deluxe
# Written by Erik Hanson erik@slackbuilds.org
PRGNAM=KoboDeluxe
PKGNAM=kobodeluxe
-VERSION=0.5.0
+VERSION=0.5.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -23,10 +23,10 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
-cd $PRGNAM-$VERSION || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -38,11 +38,10 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--sharedstatedir=/var/games \
- --enable-static=no \
- || exit 1
+ --enable-static=no
-make || exit 1
-make install DESTDIR=$PKG || exit 1
+make
+make install DESTDIR=$PKG
find $PKG | xargs file | egrep "ELF.*executable" | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find $PKG/usr/man -type f -exec gzip -9 {} \;
@@ -51,7 +50,7 @@ mkdir -p $PKG/usr/share/{applications,pixmaps}
cat $CWD/$PKGNAM.png > $PKG/usr/share/pixmaps/$PKGNAM.png
cat $CWD/$PKGNAM.desktop > $PKG/usr/share/applications/$PKGNAM.desktop
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING COPYING.LIB ChangeLog README* TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PKGNAM.SlackBuild
diff --git a/games/kobodeluxe/kobodeluxe.info b/games/kobodeluxe/kobodeluxe.info
index 3c45d88dbbe5..db9d4eaa003b 100644
--- a/games/kobodeluxe/kobodeluxe.info
+++ b/games/kobodeluxe/kobodeluxe.info
@@ -1,8 +1,8 @@
PRGNAM="kobodeluxe"
-VERSION="0.5.0"
+VERSION="0.5.1"
HOMEPAGE="http://olofson.net/kobodl/"
-DOWNLOAD="http://olofson.net/kobodl/download/KoboDeluxe-0.5.0.tar.bz2"
-MD5SUM="5941fb8abe42604f442759a44680308e"
+DOWNLOAD="http://olofson.net/kobodl/download/KoboDeluxe-0.5.1.tar.bz2"
+MD5SUM="cb5dcdaf07ccad18a921058138dedc4a"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="rworkman"
+APPROVED="dsomero"