diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-28 00:51:50 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-28 00:51:50 -0300 |
commit | 38c904eeb01f70a5125b29ab279715b42e5effd3 (patch) | |
tree | 06077a9aab695fddea6e3574a32d954d066cd494 /testing/perl-datetime-format-sqlite | |
parent | 4c36c0fc323dbc7f283bb09e204dcd2b6c87c752 (diff) | |
download | aports-38c904eeb01f70a5125b29ab279715b42e5effd3.tar.bz2 aports-38c904eeb01f70a5125b29ab279715b42e5effd3.tar.xz |
testing/perl-datetime-format-sqlite: fix url fix license
Diffstat (limited to 'testing/perl-datetime-format-sqlite')
-rw-r--r-- | testing/perl-datetime-format-sqlite/APKBUILD | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/testing/perl-datetime-format-sqlite/APKBUILD b/testing/perl-datetime-format-sqlite/APKBUILD index 90d65d87f0..9c345968b5 100644 --- a/testing/perl-datetime-format-sqlite/APKBUILD +++ b/testing/perl-datetime-format-sqlite/APKBUILD @@ -4,43 +4,36 @@ pkgname=perl-datetime-format-sqlite _pkgreal=DateTime-Format-SQLite pkgver=0.11 -pkgrel=0 +pkgrel=1 pkgdesc="Parse and format SQLite dates and times" -url="http://search.cpan.org/dist/DateTime-Format-SQLite/" +url="https://metacpan.org/release/DateTime-Format-SQLite" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-datetime-format-builder perl-datetime" -cpanmakedepends="" -cpancheckdepends="" depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -checkdepends="$cpancheckdepends" +makedepends="perl-dev" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/C/CF/CFAERBER/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare || return 1 + 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 || return 1 + 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 } |