aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2014-05-27 23:11:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-28 23:45:43 +0700
commit898a169d5e22b57494639b98c87c9a80b33560db (patch)
tree0a781ef0ba612f41ded5457f28059472b44440ac
parentb19262e241260f4f136b06551466cc78a45a85e5 (diff)
graphics/gthumb: Updated for version 3.2.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/gthumb/gthumb.SlackBuild19
-rw-r--r--graphics/gthumb/gthumb.info6
2 files changed, 13 insertions, 12 deletions
diff --git a/graphics/gthumb/gthumb.SlackBuild b/graphics/gthumb/gthumb.SlackBuild
index 9d51faca0032..a80e4ea829d9 100644
--- a/graphics/gthumb/gthumb.SlackBuild
+++ b/graphics/gthumb/gthumb.SlackBuild
@@ -5,7 +5,7 @@
# Written by crocket (crockabiscuit@gmail.com)
PRGNAM=gthumb
-VERSION=${VERSION:-3.2.4}
+VERSION=${VERSION:-3.2.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,10 +46,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
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" \
CXXFLAGS="$SLKCFLAGS" \
@@ -67,13 +67,14 @@ CXXFLAGS="$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 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL MAINTAINERS NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/gthumb/gthumb.info b/graphics/gthumb/gthumb.info
index 666fa99f818a..2867a4fae46a 100644
--- a/graphics/gthumb/gthumb.info
+++ b/graphics/gthumb/gthumb.info
@@ -1,8 +1,8 @@
PRGNAM="gthumb"
-VERSION="3.2.4"
+VERSION="3.2.8"
HOMEPAGE="http://live.gnome.org/gthumb"
-DOWNLOAD="http://ftp.acc.umu.se/pub/gnome/sources/gthumb/3.2/gthumb-3.2.4.tar.xz"
-MD5SUM="0c47b41b7c31fa146504e6efc121c703"
+DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gthumb/3.2/gthumb-3.2.8.tar.xz"
+MD5SUM="71e31eb6b3a0eaadf57071b089d04051"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""