diff options
author | Giorgio Peron <giorgio.peron@gmail.com> | 2017-06-03 00:00:37 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-06-03 00:00:37 +0100 |
commit | 0f30c31d264d9dda97698344fc9cc0fb9b820f9a (patch) | |
tree | 44ea473f44d5c996ada04ae3a327f3f8cdf353c8 /graphics/photivo/photivo.SlackBuild | |
parent | 5f33e296532ac2b62c8163ca304983874d684648 (diff) | |
download | slackbuilds-0f30c31d264d9dda97698344fc9cc0fb9b820f9a.tar.gz |
graphics/photivo: Updated for version 20160525.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/photivo/photivo.SlackBuild')
-rw-r--r-- | graphics/photivo/photivo.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/graphics/photivo/photivo.SlackBuild b/graphics/photivo/photivo.SlackBuild index 77cc66aa37..549717278c 100644 --- a/graphics/photivo/photivo.SlackBuild +++ b/graphics/photivo/photivo.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Photivo -# Copyright 2014 Giorgio Peron <giorgio.peron@gmail.com>, Campodarsego, PD, Italy +# Copyright 2017 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,14 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=photivo -VERSION=${VERSION:-20150519} -SRC_VERSION=66a8c1082d88 +VERSION=${VERSION:-20160525} +SRC_VERSION="5d7d1cc4ef4d" BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -60,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$SRC_VERSION.tar.gz || tar xvf $CWD/66a8c1082d88e6fb8e6ade73f373d28a6ac09721.tar.gz -cd $PRGNAM-$SRC_VERSION +rm -rf Photivo-$PRGNAM-$SRC_VERSION +tar xvf $CWD/Photivo-$PRGNAM-$SRC_VERSION.tar.gz || tar xvf $CWD/$SRC_VERSION.tar.gz +cd Photivo-$PRGNAM-$SRC_VERSION find . -exec touch {} \; chown -R root:root . find -L . \ |