perl/perl-Date-Manip: Script cleanup, revert back to CPAN.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2014-06-19 07:47:09 +07:00
parent 1cc8585042
commit 22b80a84a2
2 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@
PRGNAM=perl-Date-Manip
VERSION=${VERSION:-6.45}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM=Date-Manip
@ -67,8 +67,8 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
@ -89,7 +89,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 HISTORY INSTALL LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION
cp -a INSTALL LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Date::Manip seems to need a correctly set /etc/timezone file in some cases.

View File

@ -1,7 +1,7 @@
PRGNAM="perl-Date-Manip"
VERSION="6.45"
HOMEPAGE="http://search.cpan.org/dist/Date-Manip/"
DOWNLOAD="https://fossies.org/linux/privat/Date-Manip-6.45.tar.gz"
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/Date-Manip-6.45.tar.gz"
MD5SUM="f5818a9c2f090cd73b0faeb9ae3aad5c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""