diff options
author | Martin Lefebvre <dadexter@gmail.com> | 2010-05-11 19:46:24 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-11 19:46:24 +0200 |
commit | 996c60dec9e160e8a46fc26d93d4b6c70bf2f4a7 (patch) | |
tree | d616d16986165c0b84fa67d259aa9e9475022553 /system/dosbox/dosbox.SlackBuild | |
parent | 6e3b4401fac94cb4c240c449366d6b66b4d94809 (diff) |
system/dosbox: Updated for version 0.70
Diffstat (limited to 'system/dosbox/dosbox.SlackBuild')
-rw-r--r-- | system/dosbox/dosbox.SlackBuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/system/dosbox/dosbox.SlackBuild b/system/dosbox/dosbox.SlackBuild index 06da92ecf63e..608059a5ad71 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 |