diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-07-03 06:57:17 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-03 06:57:17 -0300 |
commit | 953ec22f8073487d5421be6ca857de407c639993 (patch) | |
tree | c0a735a7dd6ba6478eab27b983e42e16b0ad1142 /testing/perl-uri-encode-xs | |
parent | b19c3a24372b56f9b90adeb85a91ac4e057a4721 (diff) | |
download | aports-953ec22f8073487d5421be6ca857de407c639993.tar.bz2 aports-953ec22f8073487d5421be6ca857de407c639993.tar.xz |
testing/perl-uri-encode-xs: fix url fix license
Diffstat (limited to 'testing/perl-uri-encode-xs')
-rw-r--r-- | testing/perl-uri-encode-xs/APKBUILD | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/testing/perl-uri-encode-xs/APKBUILD b/testing/perl-uri-encode-xs/APKBUILD index 2ee873199c..8a6de5c402 100644 --- a/testing/perl-uri-encode-xs/APKBUILD +++ b/testing/perl-uri-encode-xs/APKBUILD @@ -4,39 +4,32 @@ pkgname=perl-uri-encode-xs _pkgreal=URI-Encode-XS pkgver=0.11 -pkgrel=1 +pkgrel=2 pkgdesc="A Perl URI encoder/decoder using C" -url="http://search.cpan.org/dist/URI-Encode-XS/" +url="https://metacpan.org/release/URI-Encode-XS" arch="all" -license="freebsd" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +license="BSD-2-Clause" +makedepends="perl-dev" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/D/DF/DFARRELL/$_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 } |