From 5031454716db53c2051a68e73788e20143c9c2f8 Mon Sep 17 00:00:00 2001 From: Leo Date: Wed, 3 Jul 2019 07:35:36 -0300 Subject: testing/perl-term-size: fix url fix license --- testing/perl-term-size/APKBUILD | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'testing/perl-term-size/APKBUILD') diff --git a/testing/perl-term-size/APKBUILD b/testing/perl-term-size/APKBUILD index 575588ec41..64221c7dee 100644 --- a/testing/perl-term-size/APKBUILD +++ b/testing/perl-term-size/APKBUILD @@ -4,36 +4,31 @@ pkgname=perl-term-size _pkgreal=Term-Size pkgver=0.209 -pkgrel=1 +pkgrel=2 pkgdesc="Retrieve terminal size (Unix version)" -url="http://search.cpan.org/dist/Term-Size/" +url="https://metacpan.org/release/Term-Size" arch="all" -license="GPL PerlArtistic" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +makedepends="perl-dev" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/F/FE/FERREIRA/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - 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 } build() { - cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make } check() { - cd "$builddir" make test } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -- cgit v1.2.3