From 6400a51647bcfe0341b673a8cbc89c016d3bf148 Mon Sep 17 00:00:00 2001 From: Glenn Becker Date: Sat, 24 May 2014 08:20:16 +0700 Subject: games/golly: Updated for version 2.6. Signed-off-by: Willy Sudiarto Raharjo --- games/golly/golly.SlackBuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'games/golly/golly.SlackBuild') 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 -- cgit v1.2.3