diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-07-03 07:16:53 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-03 07:16:53 -0300 |
commit | 99e55d561aa57f3631a1c01894f6d5d0aeb81775 (patch) | |
tree | 9b186760b55d69d52d613c01ca3c42589c77077c | |
parent | 6417245287a011c1c16a517936f8ef2810c50541 (diff) | |
download | aports-99e55d561aa57f3631a1c01894f6d5d0aeb81775.tar.bz2 aports-99e55d561aa57f3631a1c01894f6d5d0aeb81775.tar.xz |
testing/perl-text-brew: fix url fix license
-rw-r--r-- | testing/perl-text-brew/APKBUILD | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/testing/perl-text-brew/APKBUILD b/testing/perl-text-brew/APKBUILD index 63093111c7..1ca6fed7b0 100644 --- a/testing/perl-text-brew/APKBUILD +++ b/testing/perl-text-brew/APKBUILD @@ -4,17 +4,12 @@ pkgname=perl-text-brew _pkgreal=Text-Brew pkgver=0.02 -pkgrel=1 +pkgrel=2 pkgdesc="An implementation of the Brew edit distance" -url="http://search.cpan.org/dist/Text-Brew/" +url="https://metacpan.org/release/Text-Brew" 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" +makedepends="perl-dev" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/K/KC/KCIVEY/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" @@ -22,25 +17,21 @@ 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 || 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 } |