diff options
author | B. Watson <yalhcru@gmail.com> | 2017-08-17 11:23:09 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-19 07:10:58 +0700 |
commit | fc7da118b96d1dc8f0e45820d0d1c8d5107a6695 (patch) | |
tree | 30ccae8404c9e6d943752375c5e2dd0e5ad6389f /games/oblige/oblige.SlackBuild | |
parent | ab17ea0abf489a1720c01eab43c94515e1099eee (diff) | |
download | slackbuilds-fc7da118b96d1dc8f0e45820d0d1c8d5107a6695.tar.gz |
games/oblige: Updated for version 7.666.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/oblige/oblige.SlackBuild')
-rw-r--r-- | games/oblige/oblige.SlackBuild | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/games/oblige/oblige.SlackBuild b/games/oblige/oblige.SlackBuild index ba9f34209f..0006462ed1 100644 --- a/games/oblige/oblige.SlackBuild +++ b/games/oblige/oblige.SlackBuild @@ -6,6 +6,10 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20170817 bkw: +# - update for 7.666. Sadly this might be the last update, upstream is +# tired of working on oblige :( + # 20161016 bkw: # - update for 7.50 # - get rid of CRLF endings in docs @@ -31,7 +35,7 @@ # in /usr/share. PRGNAM=oblige -VERSION=${VERSION:-7.50} +VERSION=${VERSION:-7.666} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -104,8 +108,14 @@ cat misc/icon_128x128.png > $PKG/usr/share/pixmaps/$PRGNAM.png cat misc/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -sed -i 's,\r,,' *.txt doc/*.txt -cp *.txt doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION +rm -f INSTALL.txt # don't need compile instruction in bin package +sed -i 's,\r,,' *.txt +cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION +# 6.x and 7.50 have extra docs, 7.666 doesn't: +if [ -d doc ]; then + sed -i 's,\r,,' doc/*.txt + cp doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION +fi cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |