summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 19:44:35 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:44:35 +0200
commit0e59afff42b80dfe877acdc5549dffba73273dc1 (patch)
tree9374e4bbd45ac29bb361052e5df2b80db77f4655
parent2c2337695db40aa9dc26bc9d59ad9a1233433df0 (diff)
downloadslackbuilds-0e59afff42b80dfe877acdc5549dffba73273dc1.tar.gz
games/kobodeluxe: Updated for version 0.5.0
-rw-r--r--games/kobodeluxe/kobodeluxe.SlackBuild26
-rw-r--r--games/kobodeluxe/kobodeluxe.desktop2
-rw-r--r--games/kobodeluxe/kobodeluxe.info8
-rw-r--r--games/kobodeluxe/slack-desc10
4 files changed, 25 insertions, 21 deletions
diff --git a/games/kobodeluxe/kobodeluxe.SlackBuild b/games/kobodeluxe/kobodeluxe.SlackBuild
index 1bba28beed..8a64126fa7 100644
--- a/games/kobodeluxe/kobodeluxe.SlackBuild
+++ b/games/kobodeluxe/kobodeluxe.SlackBuild
@@ -3,14 +3,13 @@
# Slackware build script for Kobo Deluxe
# Written by Erik Hanson erik@slackbuilds.org
-# Modified by the SlackBuilds.org project
-
PRGNAM=KoboDeluxe
PKGNAM=kobodeluxe
-VERSION=0.4pre10
+VERSION=0.5.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -26,39 +25,36 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
+ --sharedstatedir=/var/games \
+ --enable-static=no \
|| exit 1
make || exit 1
make install DESTDIR=$PKG || exit 1
-# Move the scoredir to /var instead of /usr and create a symlink to where
-# the binary expects it to be. The /var partition will always be writable,
-# but we can't be so sure about the /usr partition
-mkdir -p $PKG/var/games
-mv $PKG/usr/games/kobo-deluxe $PKG/var/games
-( cd $PKG/usr/games ; ln -s ../../var/games/kobo-deluxe kobo-deluxe )
-
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 {} \;
+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
cp -a COPYING COPYING.LIB ChangeLog README* TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PKGNAM.SlackBuild
-mkdir -p $PKG/usr/share/{applications,pixmaps}
-cp -a $CWD/$PKGNAM.png $PKG/usr/share/pixmaps
-cp -a $CWD/$PKGNAM.desktop $PKG/usr/share/applications
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/games/kobodeluxe/kobodeluxe.desktop b/games/kobodeluxe/kobodeluxe.desktop
index 1217aa622e..26b33849e4 100644
--- a/games/kobodeluxe/kobodeluxe.desktop
+++ b/games/kobodeluxe/kobodeluxe.desktop
@@ -3,6 +3,6 @@ Encoding=UTF-8
Name=Kobo Deluxe
GenericName=Kobo Deluxe, a retro arcade-style game
Exec=kobodl
-Icon=/usr/share/pixmaps/kobodeluxe.png
+Icon=kobodeluxe.png
Type=Application
Categories=Application;Game;Arcade
diff --git a/games/kobodeluxe/kobodeluxe.info b/games/kobodeluxe/kobodeluxe.info
index 8452322b79..3c45d88dbb 100644
--- a/games/kobodeluxe/kobodeluxe.info
+++ b/games/kobodeluxe/kobodeluxe.info
@@ -1,8 +1,8 @@
PRGNAM="kobodeluxe"
-VERSION="0.4pre10"
+VERSION="0.5.0"
HOMEPAGE="http://olofson.net/kobodl/"
-DOWNLOAD="http://olofson.net/kobodl/download/KoboDeluxe-0.4pre10.tar.gz"
-MD5SUM="6c075837ae680bf5490c1fc4279dcc8b"
+DOWNLOAD="http://olofson.net/kobodl/download/KoboDeluxe-0.5.0.tar.bz2"
+MD5SUM="5941fb8abe42604f442759a44680308e"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="robw810"
+APPROVED="rworkman"
diff --git a/games/kobodeluxe/slack-desc b/games/kobodeluxe/slack-desc
index 2d5ff18999..e216c01536 100644
--- a/games/kobodeluxe/slack-desc
+++ b/games/kobodeluxe/slack-desc
@@ -1,4 +1,12 @@
-kobodeluxe: Kobo Deluxe - a retro arcade-style game
+# 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------------------------------------------------------|
+kobodeluxe: Kobo Deluxe (retro arcade-style game)
kobodeluxe:
kobodeluxe: Kobo Deluxe is an enhanced version of Akira Higuchi's game XKobo.
kobodeluxe: It adds sound, smoother animation, high resolution support, OpenGL