aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Test-Requires
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-06 22:20:06 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-09 01:34:38 -0600
commit3afc8cdc9758a1db91979b76cece587aa1001bb8 (patch)
tree5e9818a420c29eea8e43796f06625ff531ee34a0 /perl/perl-Test-Requires
parentdbc91420c132480bb2332e1d70db25f7d17f29bb (diff)
perl/perl-Test-Requires: Updated for version 0.07.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/perl-Test-Requires')
-rw-r--r--perl/perl-Test-Requires/perl-Test-Requires.SlackBuild29
-rw-r--r--perl/perl-Test-Requires/perl-Test-Requires.info6
2 files changed, 18 insertions, 17 deletions
diff --git a/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild b/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild
index 1c90575479cdf..c753616c66144 100644
--- a/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild
+++ b/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild
@@ -26,7 +26,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Test-Requires
-VERSION=${VERSION:-0.06}
+VERSION=${VERSION:-0.07}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,20 +68,21 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $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 {} \;
-
-perl Makefile.PL \
- PREFIX=/usr \
- INSTALLDIRS=vendor \
- INSTALLVENDORMAN1DIR=/usr/man/man1 \
- INSTALLVENDORMAN3DIR=/usr/man/man3
-make
-make test
-make install DESTDIR=$PKG
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+perl Build.PL \
+ prefix=/usr \
+ installdirs=vendor \
+ destdir=$PKG
+./Build
+./Build test
+./Build install \
+ --install_path bindoc=/usr/man/man1 \
+ --install_path libdoc=/usr/man/man3
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -95,7 +96,7 @@ find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- README \
+ Changes LICENSE MANIFEST \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/perl/perl-Test-Requires/perl-Test-Requires.info b/perl/perl-Test-Requires/perl-Test-Requires.info
index addacc98e9e9b..d796419e59809 100644
--- a/perl/perl-Test-Requires/perl-Test-Requires.info
+++ b/perl/perl-Test-Requires/perl-Test-Requires.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Test-Requires"
-VERSION="0.06"
+VERSION="0.07"
HOMEPAGE="http://search.cpan.org/~tokuhirom/Test-Requires/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-0.06.tar.gz"
-MD5SUM="6ce0da3cceadb6420d4c3c5bb69f64db"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/Test-Requires-0.07.tar.gz"
+MD5SUM="20bdd194fd0cf59eb0cc9349a68dbaa6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""