diff options
Diffstat (limited to 'games/voxelands/voxelands.SlackBuild')
-rw-r--r-- | games/voxelands/voxelands.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/games/voxelands/voxelands.SlackBuild b/games/voxelands/voxelands.SlackBuild index 6d477a4e9339f..9231c6fb4844b 100644 --- a/games/voxelands/voxelands.SlackBuild +++ b/games/voxelands/voxelands.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=voxelands -VERSION=${VERSION:-1408.00} +VERSION=${VERSION:-1409.00} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +60,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM tar xf $CWD/$PRGNAM-$VERSION-src.tar.bz2 cd $PRGNAM chown -R root:root . @@ -82,6 +82,10 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +mv $PKG/usr/share/man $PKG/usr +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.txt doc/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |