summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-05-22 23:18:00 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-23 23:21:42 -0500
commit197f6f3d9776631baaa3bb7e30f5975434d08d04 (patch)
tree4292af0b4d31c84269aefb92fce009d767748954
parentc6c9d3b76d9dfb57adea26f2525c2f8c6e1a8967 (diff)
downloadslackbuilds-197f6f3d9776631baaa3bb7e30f5975434d08d04.tar.gz
graphics/fotoxx: Updated for version 10.3.1.
-rw-r--r--graphics/fotoxx/fotoxx.SlackBuild16
-rw-r--r--graphics/fotoxx/fotoxx.info6
2 files changed, 14 insertions, 8 deletions
diff --git a/graphics/fotoxx/fotoxx.SlackBuild b/graphics/fotoxx/fotoxx.SlackBuild
index b27b445801..9b3173eb4d 100644
--- a/graphics/fotoxx/fotoxx.SlackBuild
+++ b/graphics/fotoxx/fotoxx.SlackBuild
@@ -23,11 +23,20 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fotoxx
-VERSION=9.9
-ARCH=${ARCH:-i486}
+VERSION=10.3.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i486 ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -76,9 +85,6 @@ mkdir -p $PKG/usr/share/{applications,pixmaps}
cat $CWD/fotoxx.desktop > $PKG/usr/share/applications/fotoxx.desktop
( cd $PKG/usr/share/pixmaps ; ln -s ../fotoxx/icons/fotoxx.png )
-# Fixup a few other nits
-mv $PKG/usr/share/fotoxx/locales $PKG/usr/share/locale
-
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/graphics/fotoxx/fotoxx.info b/graphics/fotoxx/fotoxx.info
index c287bb478e..07c5f32686 100644
--- a/graphics/fotoxx/fotoxx.info
+++ b/graphics/fotoxx/fotoxx.info
@@ -1,8 +1,8 @@
PRGNAM="fotoxx"
-VERSION="9.9"
+VERSION="10.3.1"
HOMEPAGE="http://kornelix.squarespace.com/fotoxx/"
-DOWNLOAD="http://kornelix.squarespace.com/storage/downloads/fotoxx-9.9.tar.gz"
-MD5SUM="189cceaa251c7b0c0b47f314bc2e7ce2"
+DOWNLOAD="http://kornelix.squarespace.com/storage/downloads/fotoxx-10.3.1.tar.gz"
+MD5SUM="2530d4f480449bf7f8da2c2ff9367a6f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Robby Workman"