diff options
author | Mario Preksavec <mario@slackware.hr> | 2015-03-02 18:25:30 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-03-08 06:35:09 +0700 |
commit | 87fdc913a30a2c4741d4ae64c61d9862d4af1436 (patch) | |
tree | 64102819fc70d20e69ab84e6da2338b6ec065a07 /perl/perl-Net-SNMP/perl-Net-SNMP.SlackBuild | |
parent | 095bd3bfe9f8ad8cf96fc0eae65ea7ecf48d3a10 (diff) | |
download | slackbuilds-87fdc913a30a2c4741d4ae64c61d9862d4af1436.tar.gz |
perl/perl-Net-SNMP: Fixed small annoyances.
Diffstat (limited to 'perl/perl-Net-SNMP/perl-Net-SNMP.SlackBuild')
-rw-r--r-- | perl/perl-Net-SNMP/perl-Net-SNMP.SlackBuild | 4 |
1 files changed, 3 insertions, 1 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 |