mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
perl/perl-file-mimeinfo: Updated for version 0.29.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
c3efdbc961
commit
f5096e2f1d
2 changed files with 9 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue