diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-07-03 06:55:31 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-03 06:55:31 -0300 |
commit | eb93452a58fd145e70182879d10461b9184a9143 (patch) | |
tree | 0648960be82aecee70c6ddd9416fcbf822be6ed6 /testing/perl-webservice-swigclient | |
parent | 234269d881e9455ab2aa326d393849fdff16736c (diff) | |
download | aports-eb93452a58fd145e70182879d10461b9184a9143.tar.bz2 aports-eb93452a58fd145e70182879d10461b9184a9143.tar.xz |
testing/perl-webservice-swigclient: fix url fix license
Diffstat (limited to 'testing/perl-webservice-swigclient')
-rw-r--r-- | testing/perl-webservice-swigclient/APKBUILD | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/testing/perl-webservice-swigclient/APKBUILD b/testing/perl-webservice-swigclient/APKBUILD index d99daec654..68d8f894a6 100644 --- a/testing/perl-webservice-swigclient/APKBUILD +++ b/testing/perl-webservice-swigclient/APKBUILD @@ -3,36 +3,32 @@ pkgname=perl-webservice-swigclient _pkgreal=WebService-SwigClient pkgver=0.001 -pkgrel=1 +pkgrel=2 pkgdesc="A client for connecting to a swig service" -url="http://search.cpan.org/dist/WebService-SwigClient/" +url="https://metacpan.org/release/WebService-SwigClient" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-test-most perl-test-easy perl-moo perl-file-slurp perl-www-curl perl-json-xs perl-common-sense perl-types-serialiser" -cpanmakedepends=" " depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +makedepends="perl-dev" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/L/LO/LOGIE/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +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 && make test } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } |