summaryrefslogtreecommitdiff
path: root/perl/perl-Image-Info/perl-Image-Info.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Image-Info/perl-Image-Info.SlackBuild')
-rw-r--r--perl/perl-Image-Info/perl-Image-Info.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/perl/perl-Image-Info/perl-Image-Info.SlackBuild b/perl/perl-Image-Info/perl-Image-Info.SlackBuild
index 630d31e7e0..8bd1ef6ca1 100644
--- a/perl/perl-Image-Info/perl-Image-Info.SlackBuild
+++ b/perl/perl-Image-Info/perl-Image-Info.SlackBuild
@@ -28,7 +28,7 @@
# Modified by the SlackBuilds.org project.
PRGNAM="perl-Image-Info"
-VERSION=${VERSION:-1.35}
+VERSION=${VERSION:-1.36}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,17 +71,19 @@ 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 \
- INSTALLVENDORMAN1DIR=/usr/man/man1 INSTALLVENDORMAN3DIR=/usr/man/man3
-
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
make
+make test
make install DESTDIR=$PKG
### putting essential docs