From f4e49d5e86fd96cee8050fbc104f75475f820fd1 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 6 Nov 2013 20:06:52 +0700 Subject: perl/perl-Convert-TNEF: Updated for version 0.18. Signed-off-by: Willy Sudiarto Raharjo Signed-off-by: Robby Workman --- perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild') diff --git a/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild b/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild index db63c50f6651d..aed476d4b2ef8 100644 --- a/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild +++ b/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild @@ -28,16 +28,14 @@ SRCNAM=Convert-TNEF PRGNAM=perl-Convert-TNEF -VERSION=0.17 +VERSION=${VERSION:-0.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -71,11 +69,11 @@ cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION chown -R root.root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -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 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 -- cgit v1.2.3