diff options
Diffstat (limited to 'games/freedoom/freedoom.SlackBuild')
-rw-r--r-- | games/freedoom/freedoom.SlackBuild | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/games/freedoom/freedoom.SlackBuild b/games/freedoom/freedoom.SlackBuild index 5e26084173..6d2b5711a4 100644 --- a/games/freedoom/freedoom.SlackBuild +++ b/games/freedoom/freedoom.SlackBuild @@ -7,7 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=freedoom -VERSION=${VERSION:-0.7} +VERSION=${VERSION:-0.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -25,19 +25,24 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION mkdir -p $PRGNAM-$VERSION +cd $TMP/$PRGNAM-$VERSION + +mkdir -p $PKG/usr/share/games/doom $PKG/usr/doc/$PRGNAM-$VERSION for zipfile in $PRGNAM-iwad $PRGNAM-ultimate freedm; do - cd $TMP/$PRGNAM-$VERSION - unzip $CWD/$zipfile-$VERSION.zip - cd $TMP/$PRGNAM-$VERSION/$zipfile-$VERSION + unzip $CWD/$zipfile-v$VERSION.zip + cd $zipfile-v$VERSION chown -R root:root . chmod 644 * - mkdir -p $PKG/usr/share/games/doom $PKG/usr/doc/$PRGNAM-$VERSION/$zipfile - cp ChangeLog COPYING README CREDITS NEWS *.html \ - $PKG/usr/doc/$PRGNAM-$VERSION/$zipfile cp *.wad $PKG/usr/share/games/doom + cd - done +# The docs are identical in all 3 zipfiles, only keep one set. +cd $PRGNAM-iwad-v$VERSION +cp COPYING CREDITS *.html $PKG/usr/doc/$PRGNAM-$VERSION +cd - + # Rename to avoid conflicts with id software's doom.wad and doom2.wad. # zdoom will correctly find the files with these names, according to # http://remilia.zdoom.org/wiki/IWAD |