aboutsummaryrefslogtreecommitdiff
path: root/graphics/pinta
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-27 07:51:39 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-29 06:30:07 +0700
commitb518a8600203d0d2d28a710d662b1e458408a6cb (patch)
tree21584aa223b5c09b7a5370cb3e32acc9651b5f29 /graphics/pinta
parent0dfe3ad3234e5d9facbaf099aedd86cd212806a5 (diff)
graphics/pinta: Updated for version 1.5.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'graphics/pinta')
-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 1f8ff67dedb29..3e5691a052b5b 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 27f4fde99b5bd..4d08eeb544592 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 3e8bf759d8c63..911ab07c6a9a7 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"