diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2010-05-22 23:18:00 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-23 23:21:42 -0500 |
commit | 197f6f3d9776631baaa3bb7e30f5975434d08d04 (patch) | |
tree | 4292af0b4d31c84269aefb92fce009d767748954 /graphics/fotoxx/fotoxx.SlackBuild | |
parent | c6c9d3b76d9dfb57adea26f2525c2f8c6e1a8967 (diff) | |
download | slackbuilds-197f6f3d9776631baaa3bb7e30f5975434d08d04.tar.gz |
graphics/fotoxx: Updated for version 10.3.1.
Diffstat (limited to 'graphics/fotoxx/fotoxx.SlackBuild')
-rw-r--r-- | graphics/fotoxx/fotoxx.SlackBuild | 16 |
1 files changed, 11 insertions, 5 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 |