aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-file-mimeinfo
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
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')
-rw-r--r--perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild13
-rw-r--r--perl/perl-file-mimeinfo/perl-file-mimeinfo.info6
2 files changed, 9 insertions, 10 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
diff --git a/perl/perl-file-mimeinfo/perl-file-mimeinfo.info b/perl/perl-file-mimeinfo/perl-file-mimeinfo.info
index 4d18c14d4740a..110526b995c35 100644
--- a/perl/perl-file-mimeinfo/perl-file-mimeinfo.info
+++ b/perl/perl-file-mimeinfo/perl-file-mimeinfo.info
@@ -1,8 +1,8 @@
PRGNAM="perl-file-mimeinfo"
-VERSION="0.28"
+VERSION="0.29"
HOMEPAGE="https://metacpan.org/pod/File::MimeInfo"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/File-MimeInfo-0.28.tar.gz"
-MD5SUM="95e3dde7a62afc9fbd5b863f36c21eb0"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/File-MimeInfo-0.29.tar.gz"
+MD5SUM="cbd870b04c528eee2ad36706cd2d12d5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-file-basedir perl-file-desktopentry"