aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2018-08-06 22:56:33 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-11 07:23:05 +0700
commitf5096e2f1d70df523e4bcead09cda261d4aa18b1 (patch)
tree5c5d234d007665c8255f68b720f1cfbead088ea7 /perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild
parentc3efdbc961e902e983c2ca84073266c99fee483b (diff)
perl/perl-file-mimeinfo: Updated for version 0.29.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild')
-rw-r--r--perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild b/perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild
index 44d918911837b..03ae8f782662f 100644
--- a/perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild
+++ b/perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild
@@ -1,7 +1,8 @@
#!/bin/sh
-# Slackware build script for perl-file-mimeinfo
-
-# Copyright 2015-2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+#
+# Slackware build script for perl-file-mimeinfo.
+#
+# Copyright 2015-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-file-mimeinfo
-VERSION=${VERSION:-0.28}
+VERSION=${VERSION:-0.29}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,9 +76,7 @@ perl Makefile.PL \
INSTALLDIRS=vendor \
INSTALLVENDORMAN1DIR=/usr/man/man1 \
INSTALLVENDORMAN3DIR=/usr/man/man3
-mv -v README.md README
make
-make test
make install DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
@@ -91,7 +90,7 @@ find $PKG -name perllocal.pod \
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README Changes $PKG/usr/doc/$PRGNAM-$VERSION
+cp README.md Changes $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install