summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2015-08-11 08:36:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-11 23:25:23 +0700
commit0f72737acea9011f88cb8738a4100461d7411385 (patch)
treea96dce84c96444620c08b8e67d468fd83aff6152 /perl
parent013a5ae403bc0af30a3d3efd0acc7e9c8ac07d2a (diff)
downloadslackbuilds-0f72737acea9011f88cb8738a4100461d7411385.tar.gz
perl/perl-Sub-Uplevel: Updated for version 0.25.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild15
-rw-r--r--perl/perl-Sub-Uplevel/perl-Sub-Uplevel.info8
2 files changed, 12 insertions, 11 deletions
diff --git a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild
index aa6c89628f..810aa09b00 100644
--- a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild
+++ b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild
@@ -3,7 +3,8 @@
# Slackware Package Build Script for perl modules: Sub::Uplevel
# Home Page http://search.cpan.org/dist/Sub-Uplevel/
-# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant@mnspace.net)
+# Copyright (c) 2008-2015, Nishant Limbachia, Hoffman Estates, IL, USA
+# (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +25,12 @@
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=perl-Sub-Uplevel
-VERSION=${VERSION:-0.24}
+PRGNAM="perl-Sub-Uplevel"
+VERSION=${VERSION:-0.25}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=Sub-Uplevel
+SRCNAM="$(printf $PRGNAM | cut -f2- -d-)"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -69,10 +70,10 @@ tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $TMP/$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 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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor
make
diff --git a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.info b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.info
index 489c88ca8b..2037098eb1 100644
--- a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.info
+++ b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Sub-Uplevel"
-VERSION="0.24"
-HOMEPAGE="https://metacpan.org/pod/Sub::Uplevel"
-DOWNLOAD="http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-0.24.tar.gz"
-MD5SUM="bea4037e8b2a0df563e25e6e44cb2e73"
+VERSION="0.25"
+HOMEPAGE="http://search.cpan.org/dist/Sub-Uplevel/"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Sub-Uplevel-0.25.tar.gz"
+MD5SUM="5d0752dbfa94d0c91b25a264f47f5675"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""