From 0a49058508940879bd303fe27c03f9c4a3d0675f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 21 Dec 2012 21:23:26 +0100 Subject: [PATCH] games/atari++: Updated for version 1.60, added license. Signed-off-by: Matteo Bernardini --- games/atari++/atari++.SlackBuild | 8 ++++---- games/atari++/atari++.info | 6 +++--- games/atari++/doinst.sh | 5 +++++ 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/games/atari++/atari++.SlackBuild b/games/atari++/atari++.SlackBuild index 499a62b569..b6d7f88b7e 100644 --- a/games/atari++/atari++.SlackBuild +++ b/games/atari++/atari++.SlackBuild @@ -1,20 +1,20 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for atari++ # Written by B. Watson (yalhcru@gmail.com) +# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details. + PRGNAM=atari++ -VERSION=${VERSION:-1.58} +VERSION=${VERSION:-1.60} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi diff --git a/games/atari++/atari++.info b/games/atari++/atari++.info index 4bdd95832f..d16382b7dd 100644 --- a/games/atari++/atari++.info +++ b/games/atari++/atari++.info @@ -1,8 +1,8 @@ PRGNAM="atari++" -VERSION="1.58" +VERSION="1.60" HOMEPAGE="http://www.xl-project.com/" -DOWNLOAD="http://www.xl-project.com/download/atari++_1.58.tar.gz" -MD5SUM="acb7c15fc2a848440d62252661ac2b97" +DOWNLOAD="http://www.xl-project.com/download/atari++_1.60.tar.gz" +MD5SUM="1c4e01b0e27ab790e0ab01a630a29da3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/games/atari++/doinst.sh b/games/atari++/doinst.sh index 4e8ba7071d..3e5691a052 100644 --- a/games/atari++/doinst.sh +++ b/games/atari++/doinst.sh @@ -2,3 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi