community/perl-unicode-collate: upgrade to 1.25

This commit is contained in:
Roberto Oliveira 2017-11-24 10:03:04 +00:00
parent 6f66ff9af3
commit c4d81ea076

View File

@ -3,7 +3,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-unicode-collate pkgname=perl-unicode-collate
_pkgreal=Unicode-Collate _pkgreal=Unicode-Collate
pkgver=1.24 pkgver=1.25
pkgrel=0 pkgrel=0
pkgdesc="Unicode Collation Algorithm" pkgdesc="Unicode Collation Algorithm"
url="http://search.cpan.org/dist/Unicode-Collate/" url="http://search.cpan.org/dist/Unicode-Collate/"
@ -21,7 +21,7 @@ build() {
cd "$builddir" cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make && make test make
} }
check() { check() {
@ -31,7 +31,7 @@ check() {
package() { package() {
cd "$builddir" cd "$builddir"
make DESTDIR="$pkgdir" install || return 1 make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
} }
@ -40,4 +40,4 @@ doc() {
replaces="perl-doc" replaces="perl-doc"
} }
sha512sums="7963639ad74d8e2e1a7dd53490495bbc7a8076d2ed7e142645b6774cdb3baa3edb184ec591cc3c424dbddc275dee51fa3899312360e5940788493302e77532b3 Unicode-Collate-1.24.tar.gz" sha512sums="f7c7147fbdbe0699a77874d3c5fd5c1810a9a79f1880682a6329a6b85b14f8cda294b0de0ae2cfdfed14b6f9c7000dbbe38f96dde1e23a88960b8702a1457993 Unicode-Collate-1.25.tar.gz"