aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild')
-rw-r--r--perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild b/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild
index ccf82009c6680..013f768ef58e6 100644
--- a/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild
+++ b/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for perl-Test-Pod-Coverage
# Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com>
+# Copyright 2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -12,7 +13,7 @@
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
@@ -64,10 +65,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$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 {} \;
perl Makefile.PL \
PREFIX=/usr \
@@ -85,9 +86,7 @@ find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs r
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- Changes \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a Changes $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install