mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 22:07:19 +02:00
main/perl-mime-types: upgrade to 2.26
This commit is contained in:
parent
2469a27239
commit
e3c20beb78
@ -1,11 +1,11 @@
|
|||||||
# Automatically generated by apkbuild-cpan, template 3
|
# Automatically generated by apkbuild-cpan, template 4
|
||||||
# Contributor: Timo Teräs <timo.teras@iki.fi>
|
# Contributor: Timo Teräs <timo.teras@iki.fi>
|
||||||
# Maintainer: Timo Teräs <timo.teras@iki.fi>
|
# Maintainer: Timo Teräs <timo.teras@iki.fi>
|
||||||
pkgname=perl-mime-types
|
pkgname=perl-mime-types
|
||||||
|
pkgver=2.26
|
||||||
|
pkgrel=0
|
||||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||||
_pkgreal=MIME-Types
|
_pkgreal=MIME-Types
|
||||||
pkgver=2.24
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="Definition of MIME types"
|
pkgdesc="Definition of MIME types"
|
||||||
url="https://metacpan.org/release/MIME-Types/"
|
url="https://metacpan.org/release/MIME-Types/"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
@ -17,7 +17,10 @@ builddir="$srcdir/$_pkgreal-$pkgver"
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
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
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -28,9 +31,15 @@ check() {
|
|||||||
|
|
||||||
package() {
|
package() {
|
||||||
make DESTDIR="$pkgdir" install
|
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="
|
sha512sums="
|
||||||
5f1ba7b461eb18438b7e1bcc49291d0a506d937f0020f2a8b17594e4de626110f8d4b4a767d78b491ae788b6a6ea531d8ce2c2245cc614700ac8fa6d320d2bd7 MIME-Types-2.24.tar.gz
|
cde3a8c6cbde16143732cf2ac4d648eff167917970357daf0162370cbba375b2aa546af472a73b2a4b26086919ddcc49bd9da999251946a40aee8abb60af2d75 MIME-Types-2.26.tar.gz
|
||||||
"
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user