mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/perl-file-mimeinfo: upgrade to 0.35
This commit is contained in:
parent
ddf4508bba
commit
42710a0792
@ -1,10 +1,10 @@
|
||||
# Automatically generated by apkbuild-cpan, template 3
|
||||
# Automatically generated by apkbuild-cpan, template 4
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
pkgname=perl-file-mimeinfo
|
||||
pkgver=0.35
|
||||
pkgrel=0
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=File-MimeInfo
|
||||
pkgver=0.34
|
||||
pkgrel=0
|
||||
pkgdesc="Determine file types"
|
||||
url="https://metacpan.org/release/File-MimeInfo/"
|
||||
arch="noarch"
|
||||
@ -22,7 +22,10 @@ builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
||||
INSTALLDIRS=vendor \
|
||||
NO_PACKLIST=1 \
|
||||
NO_PERLLOCAL=1
|
||||
make
|
||||
}
|
||||
|
||||
@ -33,9 +36,15 @@ check() {
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
doc() {
|
||||
local file; find "$pkgdir" -name "*.pod" | while read -r file; do
|
||||
amove "${file#"$pkgdir"}"
|
||||
done
|
||||
default_doc
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
5ce15976aa5ed59563ae64339aeefed426e97aa22448005e0dd50b8fee32237faafc59308cdad9d7eea6c3e3b58c41032d1f4fa670bc17d4ad58ca07743d015f File-MimeInfo-0.34.tar.gz
|
||||
ed2ae7d978d6813a002f6d1cd01ac44e1aab33102c4864ef448b49f5719fc4c9894f6f7fb82d034a50843e08419336c5320fa75c6081e9e842cb5266a05c3576 File-MimeInfo-0.35.tar.gz
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user