diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-26 01:23:22 -0300 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-05-27 08:09:53 +0000 |
commit | 8db5ef696e21868072f1b7d511df8490c53fe652 (patch) | |
tree | 36f73ddf2cf0bbf9eeb6ec5b5fd4355bc5c294c4 /community/perl-business-isbn | |
parent | b89e4827aae6907bb6838b31c68af567e429f874 (diff) | |
download | aports-8db5ef696e21868072f1b7d511df8490c53fe652.tar.bz2 aports-8db5ef696e21868072f1b7d511df8490c53fe652.tar.xz |
community/perl-business-isbn: modernize, fix license.
Diffstat (limited to 'community/perl-business-isbn')
-rw-r--r-- | community/perl-business-isbn/APKBUILD | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/community/perl-business-isbn/APKBUILD b/community/perl-business-isbn/APKBUILD index c05d736827..6d834c0df3 100644 --- a/community/perl-business-isbn/APKBUILD +++ b/community/perl-business-isbn/APKBUILD @@ -4,13 +4,13 @@ pkgname=perl-business-isbn _pkgreal=Business-ISBN pkgver=3.004 -pkgrel=0 +pkgrel=1 pkgdesc="work with International Standard Book Numbers" url="http://search.cpan.org/dist/Business-ISBN/" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-mojolicious perl-business-isbn-data perl-uri" -cpanmakedepends="perl-business-isbn-data perl-test-pod" +cpanmakedepends="perl-test-pod" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" @@ -18,26 +18,21 @@ source="http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/$_pkgreal-$pkgver.tar. builddir="$srcdir/$_pkgreal-$pkgver" check() { - cd "$builddir" make test } - 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 } |