summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/pinta/doinst.sh1
-rw-r--r--graphics/pinta/pinta.SlackBuild16
-rw-r--r--graphics/pinta/pinta.info6
3 files changed, 11 insertions, 12 deletions
diff --git a/graphics/pinta/doinst.sh b/graphics/pinta/doinst.sh
index 1f8ff67ded..3e5691a052 100644
--- a/graphics/pinta/doinst.sh
+++ b/graphics/pinta/doinst.sh
@@ -7,4 +7,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
-
diff --git a/graphics/pinta/pinta.SlackBuild b/graphics/pinta/pinta.SlackBuild
index 27f4fde99b..4d08eeb544 100644
--- a/graphics/pinta/pinta.SlackBuild
+++ b/graphics/pinta/pinta.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for pinta
# Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com>
+# Copyright 2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pinta
-VERSION=${VERSION:-20131027}
+VERSION=${VERSION:-1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,16 +63,15 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-./autogen.sh \
+./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
@@ -84,7 +84,7 @@ CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
diff --git a/graphics/pinta/pinta.info b/graphics/pinta/pinta.info
index 3e8bf759d8..911ab07c6a 100644
--- a/graphics/pinta/pinta.info
+++ b/graphics/pinta/pinta.info
@@ -1,8 +1,8 @@
PRGNAM="pinta"
-VERSION="20131027"
+VERSION="1.5"
HOMEPAGE="http://pinta-project.com/"
-DOWNLOAD="http://files.slackware-id.org/pinta-20131027.tar.gz"
-MD5SUM="ca8d5ac33bd98384a4b419ae728c818c"
+DOWNLOAD="https://github.com/PintaProject/Pinta/releases/download/1.5/pinta-1.5.tar.gz"
+MD5SUM="f3e0d69b3fbda3aec6eeb36b5c94b81f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mono-addins"