summaryrefslogtreecommitdiff
path: root/graphics/photivo/photivo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/photivo/photivo.SlackBuild')
-rw-r--r--graphics/photivo/photivo.SlackBuild18
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 . \