summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Lefebvre <dadexter@gmail.com>2010-05-11 19:46:24 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 19:46:24 +0200
commit996c60dec9e160e8a46fc26d93d4b6c70bf2f4a7 (patch)
treed616d16986165c0b84fa67d259aa9e9475022553
parent6e3b4401fac94cb4c240c449366d6b66b4d94809 (diff)
downloadslackbuilds-996c60dec9e160e8a46fc26d93d4b6c70bf2f4a7.tar.gz
system/dosbox: Updated for version 0.70
-rw-r--r--system/dosbox/dosbox.SlackBuild18
-rw-r--r--system/dosbox/dosbox.info8
-rw-r--r--system/dosbox/slack-desc14
3 files changed, 27 insertions, 13 deletions
diff --git a/system/dosbox/dosbox.SlackBuild b/system/dosbox/dosbox.SlackBuild
index 06da92ecf6..608059a5ad 100644
--- a/system/dosbox/dosbox.SlackBuild
+++ b/system/dosbox/dosbox.SlackBuild
@@ -23,13 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by the SlackBuilds.org project
+# Modified by Mattias Linde <mattias.linde@gmail.com>
PRGNAM=dosbox
-VERSION=0.65
+VERSION=0.70
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -46,7 +47,6 @@ cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION || exit 1
-
chown -R root:root .
chmod -R a-s,u+w,go-w+r .
@@ -61,20 +61,22 @@ CXXFLAGS="$SLKCFLAGS" \
make DESTDIR=$PKG || exit 1
make install-strip DESTDIR=$PKG || exit 1
+mv $PKG/usr/share/man $PKG/usr/man
+
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
- for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
# Add a desktop file to create a menu entry
install -D -m 0644 $CWD/dosbox.desktop \
$PKG/usr/share/applications/dosbox.desktop
+
# Add the dosbox.ico file to /usr/share/pixmaps
-install -D -m 0644 src/dosbox.ico \
- $PKG/usr/share/pixmaps/dosbox.ico
+install -D -m 0644 src/dosbox.ico $PKG/usr/share/pixmaps/dosbox.ico
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \
docs/README.video $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/dosbox/dosbox.info b/system/dosbox/dosbox.info
index c8f3d6af33..0eb3826928 100644
--- a/system/dosbox/dosbox.info
+++ b/system/dosbox/dosbox.info
@@ -1,8 +1,8 @@
PRGNAM="dosbox"
-VERSION="0.65"
+VERSION="0.70"
HOMEPAGE="http://dosbox.sourceforge.net"
-DOWNLOAD="http://dl.sourceforge.net/dosbox/dosbox-0.65.tar.gz"
-MD5SUM="fef84c292c3aeae747368b9875c1575a"
+DOWNLOAD="http://dl.sourceforge.net/dosbox/dosbox-0.70.tar.gz"
+MD5SUM="ea0a936e88eb294038e67eeb0d7129c4"
MAINTAINER="Martin Lefebvre"
EMAIL="dadexter@gmail.com"
-APPROVED="robw810"
+APPROVED="BP{k}"
diff --git a/system/dosbox/slack-desc b/system/dosbox/slack-desc
index a810e6525d..8132cb0d2e 100644
--- a/system/dosbox/slack-desc
+++ b/system/dosbox/slack-desc
@@ -1,7 +1,19 @@
-dosbox: DOSbox is a DOS emulator/virtual machine for X11 and Unix.
+# 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------------------------------------------------------|
+dosbox: DOSbox (DOS emulator/virtual machine for X11 and Unix)
dosbox:
dosbox: It allows you to play many of the old games you grew up loving, as
dosbox: well as many apps designed to run on DOS.
dosbox:
dosbox:
dosbox:
+dosbox:
+dosbox:
+dosbox:
+dosbox: