aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2012-12-18 16:59:59 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-23 09:16:45 -0500
commit1456f56579a837349ebcd9097810970044735696 (patch)
tree94a8b6fcd360c4ae2f4891fd8d8c7c185712f87c /perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild
parent8caaace22948a61d2e1ab60e8e74fbada0c9ee90 (diff)
perl/perl-Net-CIDR: Updated for version 0.17.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild')
-rw-r--r--perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild b/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild
index 76df080ee67f..56fd077dc43a 100644
--- a/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild
+++ b/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild
@@ -3,8 +3,8 @@
# Slackware Package Build Script for perl modules: Net::CIDR
# Home Page http://search.cpan.org/dist/Net-CIDR/
-# Copyright (c) 2008-2012, Nishant Limbachia, Hoffman Estates, IL, USA
-# [nishant _AT_ mnspace _DOT_ net]
+# Copyright (c) 2008-2013, 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
@@ -25,11 +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.
-SRCNAM=Net-CIDR
-PRGNAM=perl-$SRCNAM
-VERSION=${VERSION:-0.15}
+PRGNAM="perl-Net-CIDR"
+VERSION=${VERSION:-0.17}
BUILD=${BUILD:-1}
+SRCNAM="$(printf $PRGNAM | cut -f2- -d-)"
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;