aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-25 01:20:28 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-08-25 01:20:28 -0300
commit5995ffb9f734c98ddbe2ea1d16bcb9e99bdf02bb (patch)
tree11263133dbda31ae16412336bf4b13a636039301
parent8c9e6cf3e356a481ebc006fa8055c01715e4aff3 (diff)
downloadaports-5995ffb9f734c98ddbe2ea1d16bcb9e99bdf02bb.tar.gz
aports-5995ffb9f734c98ddbe2ea1d16bcb9e99bdf02bb.tar.bz2
aports-5995ffb9f734c98ddbe2ea1d16bcb9e99bdf02bb.tar.xz
testing/perl-lingua-en-inflect: upgrade to 1.904
-rw-r--r--testing/perl-lingua-en-inflect/APKBUILD22
1 files changed, 7 insertions, 15 deletions
diff --git a/testing/perl-lingua-en-inflect/APKBUILD b/testing/perl-lingua-en-inflect/APKBUILD
index dc32dcede0..b2f70cce84 100644
--- a/testing/perl-lingua-en-inflect/APKBUILD
+++ b/testing/perl-lingua-en-inflect/APKBUILD
@@ -3,46 +3,38 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-lingua-en-inflect
_pkgreal=Lingua-EN-Inflect
-pkgver=1.903
+pkgver=1.904
pkgrel=0
pkgdesc="Convert singular to plural. Select "a" or "an"."
-url="http://search.cpan.org/dist/Lingua-EN-Inflect/"
+url="https://metacpan.org/release/Lingua-EN-Inflect"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
-cpancheckdepends=""
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
-checkdepends="$cpancheckdepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/D/DC/DCONWAY/Lingua-EN-Inflect-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
-sha512sums="2f629e1dd9eddba123423c95531907a7c0a7eb0bc99ee425ea2c3cdb4059af0e78625c45392eb65780c8b06da8eec790e242d51912c87a15bcf5d466d68549ce Lingua-EN-Inflect-1.903.tar.gz"
+sha512sums="242417424d8ab7d52d219af838df955add337c3ef97ceb27e0fd72151988e6cce44e504d5ebf7b0c15f32b496bc0179d6659845c258dd7cbfaa5ddbb0e7ec8a5 Lingua-EN-Inflect-1.904.tar.gz"