diff options
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 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 <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 |