diff options
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 |