diff options
author | B. Watson <yalhcru@gmail.com> | 2015-05-07 04:03:28 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-10 07:04:47 +0700 |
commit | 9efc6f188256a0e7a2a117253fcd47de019569a6 (patch) | |
tree | d3c11599eb1dadd468892ca179f347235f8a0bb7 /games/chocolate-doom/chocolate-doom.SlackBuild | |
parent | d79083005eb51a2422b62690cf9a13b06083194b (diff) |
games/chocolate-doom: Updated for version 2.1.0.
Diffstat (limited to 'games/chocolate-doom/chocolate-doom.SlackBuild')
-rw-r--r-- | games/chocolate-doom/chocolate-doom.SlackBuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/games/chocolate-doom/chocolate-doom.SlackBuild b/games/chocolate-doom/chocolate-doom.SlackBuild index 4703624a9a346..0d4562cdb7fcf 100644 --- a/games/chocolate-doom/chocolate-doom.SlackBuild +++ b/games/chocolate-doom/chocolate-doom.SlackBuild @@ -7,7 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=chocolate-doom -VERSION=${VERSION:-2.0.0} +VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -58,6 +58,8 @@ find -L . \ patch -p1 < $CWD/disable_windres.diff autoreconf -if +# NB: Upstream uses --docdir in a weird way: docs for chocolate-doom +# go in $docdir, the others go in e.g. "$docdir/../chocolate-hexen/". CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -66,7 +68,7 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ + --docdir=/usr/doc/$PRGNAM-$VERSION/$PRGNAM \ --build=$ARCH-slackware-linux make @@ -75,11 +77,6 @@ make install DESTDIR=$PKG # install-strip fails to strip the *-setup binaries. strip $PKG/usr/games/* -# Grrr. --docdir is being ignored. -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION -rm -rf $PKG/usr/share/doc - gzip -9 $PKG/usr/man/man?/* # Move icons to standard Slackware pixmap icon dir: |