From 996c60dec9e160e8a46fc26d93d4b6c70bf2f4a7 Mon Sep 17 00:00:00 2001 From: Martin Lefebvre Date: Tue, 11 May 2010 19:46:24 +0200 Subject: system/dosbox: Updated for version 0.70 --- system/dosbox/dosbox.SlackBuild | 18 ++++++++++-------- system/dosbox/dosbox.info | 8 ++++---- system/dosbox/slack-desc | 14 +++++++++++++- 3 files changed, 27 insertions(+), 13 deletions(-) (limited to 'system') diff --git a/system/dosbox/dosbox.SlackBuild b/system/dosbox/dosbox.SlackBuild index 06da92ecf63e7..608059a5ad715 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 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 c8f3d6af33145..0eb38269288c1 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 a810e6525d3de..8132cb0d2e180 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: -- cgit v1.2.3