diff options
Diffstat (limited to 'community/perl-data-difflet/APKBUILD')
-rw-r--r-- | community/perl-data-difflet/APKBUILD | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/community/perl-data-difflet/APKBUILD b/community/perl-data-difflet/APKBUILD index cd2332dcd23..f0b2cac22f2 100644 --- a/community/perl-data-difflet/APKBUILD +++ b/community/perl-data-difflet/APKBUILD @@ -3,21 +3,18 @@ pkgname=perl-data-difflet _pkgreal=Data-Difflet pkgver=0.11 -pkgrel=1 +pkgrel=4 pkgdesc="Perl module for Data-Difflet" -url="http://search.cpan.org/dist/Data-Difflet/" +url="https://metacpan.org/release/Data-Difflet/" arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="perl-module-build" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -source="http://search.cpan.org/CPAN/authors/id/T/TO/TOKUHIROM/$_pkgreal-$pkgver.tar.gz" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +depends="perl" +makedepends="perl-module-build" +source="https://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$builddir" if [ -e Build.PL ]; then perl Build.PL installdirs=vendor else @@ -26,18 +23,15 @@ prepare() { } build() { - cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') ./Build } check() { - cd "$builddir" ./Build test } package() { - cd "$builddir" install -D -m0644 lib/Data/Difflet.pm "$pkgdir"/usr/share/perl5/vendor_perl/Data/Difflet.pm } |