summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-03-02 18:25:30 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-08 06:35:09 +0700
commit87fdc913a30a2c4741d4ae64c61d9862d4af1436 (patch)
tree64102819fc70d20e69ab84e6da2338b6ec065a07
parent095bd3bfe9f8ad8cf96fc0eae65ea7ecf48d3a10 (diff)
downloadslackbuilds-87fdc913a30a2c4741d4ae64c61d9862d4af1436.tar.gz
perl/perl-Net-SNMP: Fixed small annoyances.
-rw-r--r--perl/perl-Net-SNMP/perl-Net-SNMP.SlackBuild4
-rw-r--r--perl/perl-Net-SNMP/slack-desc2
2 files changed, 4 insertions, 2 deletions
diff --git a/perl/perl-Net-SNMP/perl-Net-SNMP.SlackBuild b/perl/perl-Net-SNMP/perl-Net-SNMP.SlackBuild
index 385c9dd98c..7bb1a76c38 100644
--- a/perl/perl-Net-SNMP/perl-Net-SNMP.SlackBuild
+++ b/perl/perl-Net-SNMP/perl-Net-SNMP.SlackBuild
@@ -35,6 +35,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+DOCS="LICENSE Changes README"
+
set -e
rm -rf $PKG
@@ -70,7 +72,7 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE Changes README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/perl/perl-Net-SNMP/slack-desc b/perl/perl-Net-SNMP/slack-desc
index acc5b76ed9..1a72f0c188 100644
--- a/perl/perl-Net-SNMP/slack-desc
+++ b/perl/perl-Net-SNMP/slack-desc
@@ -11,7 +11,7 @@ perl-Net-SNMP:
perl-Net-SNMP: The Net::SNMP module implements an object oriented interface to the
perl-Net-SNMP: Simple Network Management Protocol.
perl-Net-SNMP:
-perl-Net-SNMP: https://metacpan.org/pod/Net::SNMP
+perl-Net-SNMP: Homepage: https://metacpan.org/pod/Net::SNMP
perl-Net-SNMP:
perl-Net-SNMP:
perl-Net-SNMP: