diff options
author | Glenn Becker <burningc@sdf.org> | 2014-05-24 08:20:16 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-24 08:20:16 +0700 |
commit | 6400a51647bcfe0341b673a8cbc89c016d3bf148 (patch) | |
tree | e98fc60b675f1c0b5ad6514fcd8e16c59a93faca /games/golly/golly.SlackBuild | |
parent | 66e64d00018ab108b910c57ca237b1fb4242c0ef (diff) | |
download | slackbuilds-6400a51647bcfe0341b673a8cbc89c016d3bf148.tar.gz |
games/golly: Updated for version 2.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/golly/golly.SlackBuild')
-rw-r--r-- | games/golly/golly.SlackBuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/games/golly/golly.SlackBuild b/games/golly/golly.SlackBuild index 3f7087fa1d..76634e7868 100644 --- a/games/golly/golly.SlackBuild +++ b/games/golly/golly.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for golly -# Copyright 2012, Glenn Becker, Arlington MA USA +# Copyright 2012-14, Glenn Becker, Arlington MA USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,9 +21,10 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Updated for golly 2.6 -- the source directory structure got changed a bit too! PRGNAM=golly -VERSION=${VERSION:-2.4} +VERSION=${VERSION:-2.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,6 +71,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +cd 'gui-wx/configure' + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -87,6 +90,8 @@ 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 +cd '../icons' + for i in 16 32 48; do convert appicon${i}.ico -resize ${i}x${i}! $PRGNAM-${i}.png mkdir -p $PKG/usr/share/icons/hicolor/${i}x${i}/apps/ @@ -97,9 +102,11 @@ done convert appicon.xpm $PRGNAM.png install -D -m 0644 $PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png +cd '../../docs' + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - LICENSE README TODO \ + License.html ReadMe.html ToDo.html \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |