diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-27 14:05:13 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-27 14:05:13 -0300 |
commit | f09c1631e446f4d06c20277d6299c4d7973cab34 (patch) | |
tree | 3379b09c8279122534033592a6129762c8a6af20 /community/perl-datetime-format-builder | |
parent | f5cee4aabd3fd0662664c940fc1bd3f881456f63 (diff) | |
download | aports-f09c1631e446f4d06c20277d6299c4d7973cab34.tar.bz2 aports-f09c1631e446f4d06c20277d6299c4d7973cab34.tar.xz |
community/perl-datetime-format-builder: fix url fix source
Diffstat (limited to 'community/perl-datetime-format-builder')
-rw-r--r-- | community/perl-datetime-format-builder/APKBUILD | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/community/perl-datetime-format-builder/APKBUILD b/community/perl-datetime-format-builder/APKBUILD index b9537b4008..304d4a5bd6 100644 --- a/community/perl-datetime-format-builder/APKBUILD +++ b/community/perl-datetime-format-builder/APKBUILD @@ -4,40 +4,36 @@ pkgname=perl-datetime-format-builder _pkgreal=DateTime-Format-Builder pkgver=0.82 -pkgrel=0 +pkgrel=1 pkgdesc="Create DateTime parser classes and objects." -url="http://search.cpan.org/dist/DateTime-Format-Builder/" +url="https://metacpan.org/release/DateTime-Format-Builder" arch="noarch" license="Artistic-2.0" -cpandepends="perl-datetime-format-strptime perl-datetime perl-class-factory-util perl-params-validate" -cpanmakedepends="" +cpandepends="perl-datetime-format-strptime perl-datetime perl-class-factory-util + perl-params-validate" depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +makedepends="perl-dev" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz" +source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-Builder-$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 } check() { - cd "$builddir" - make test + make test } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } |