diff options
author | B. Watson <yalhcru@gmail.com> | 2014-11-13 19:41:59 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-11-13 19:41:59 +0700 |
commit | 929059b9234da60752a34b58a3ba50038f00e4ac (patch) | |
tree | 53fa586b474b441a1d46970e8f57a30aa06b863e /games/steem/steem.SlackBuild | |
parent | aa9197be95965b1c605c50529324f95547c41def (diff) | |
download | slackbuilds-929059b9234da60752a34b58a3ba50038f00e4ac.tar.gz |
games/steem: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/steem/steem.SlackBuild')
-rw-r--r-- | games/steem/steem.SlackBuild | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/games/steem/steem.SlackBuild b/games/steem/steem.SlackBuild index 148bc90b44..ff2595127a 100644 --- a/games/steem/steem.SlackBuild +++ b/games/steem/steem.SlackBuild @@ -6,9 +6,17 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20141112 bkw: +# - binary in /usr/games, not /usr/bin +# - rewrite man page as pod, move to man6 +# - get giant steem.pdf.xz out of the SBo tarball, move to my host +# This will be the last submission for the old binary-only +# steem for linux. Will be working on building the open source +# steem in the near future. + PRGNAM=steem VERSION=${VERSION:-3.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Binary-only package, hard-coded ARCH @@ -37,14 +45,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - -mkdir -p $PKG/usr/bin $PKG/usr/share/$PRGNAM/patches \ +mkdir -p $PKG/usr/games $PKG/usr/share/$PRGNAM/patches \ $PKG/usr/libexec $PKG/usr/share/$PRGNAM/tos \ - $PKG/usr/man/man1 $PKG/usr/doc/$PRGNAM-$VERSION + $PKG/usr/man/man6 $PKG/usr/doc/$PRGNAM-$VERSION # binary's already stripped install -m0755 $PRGNAM $PKG/usr/libexec/$PRGNAM.bin -install -m0755 $CWD/$PRGNAM.sh $PKG/usr/bin/$PRGNAM +install -m0755 $CWD/$PRGNAM.sh $PKG/usr/games/$PRGNAM cp -r patches/* $PKG/usr/share/$PRGNAM/patches @@ -55,9 +62,7 @@ fi cp tos*.img $PKG/usr/share/$PRGNAM/tos -cp -a \ - *.txt FAQ README win32.help $PRGNAM.new \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.txt FAQ README win32.help $PRGNAM.new $PKG/usr/doc/$PRGNAM-$VERSION # CRLF's suck.. sed -i 's/\r//g' $PKG/usr/doc/$PRGNAM-$VERSION/* @@ -65,7 +70,7 @@ sed -i 's/\r//g' $PKG/usr/doc/$PRGNAM-$VERSION/* cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Man page created from the --help output -gzip -9c < $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz +gzip -9c < $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz # pdf doc was created by running chm2pdf on the chm help downloaded from # the original site. @@ -74,6 +79,8 @@ xzcat $CWD/$PRGNAM.pdf.xz > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.pdf # icon converted from the windows icon using wrestool on steem.exe mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/applications cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png + +# .desktop written for this build cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/install |