aboutsummaryrefslogtreecommitdiff
path: root/graphics/fotoxx
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/fotoxx')
-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 b27b4458010ea..9b3173eb4d299 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 c287bb478e9ea..07c5f32686d08 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"