aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild')
-rw-r--r--perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild b/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild
index beb92d658400d..dea26c0740593 100644
--- a/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild
+++ b/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild
@@ -2,10 +2,10 @@
# Slackware build script for perl-Net-Daemon
-# Written by crocket (crockabiscuit@yahoo.com)
+# Written by crocket (crockabiscuit@gmail.com)
PRGNAM=perl-Net-Daemon
-VERSION=${VERSION:-0.43}
+VERSION=${VERSION:-0.48}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -24,14 +24,13 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-mv $SRCNAM $SRCNAM-$VERSION
cd $SRCNAM-$VERSION
chown -R root:root .
find . \
@@ -40,9 +39,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# remove a test file that utilizes an ancient API.
-rm t/thread.t
-
perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \
@@ -53,8 +49,8 @@ make install DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
-find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
-find $PKG -depth -type d -empty -delete || true
+find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f
+find $PKG -depth -type d -empty -delete
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION