aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-soap-lite/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-03 07:53:39 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-07-03 07:53:39 -0300
commitcd54ae422d36477a88816ae62cfa5e1cb04e5d6a (patch)
tree9e280cdc19e25ab169a3513c012f7f28e11d489d /testing/perl-soap-lite/APKBUILD
parentf8384210f0e620adb0812d66950f2cdd15c01cae (diff)
downloadaports-cd54ae422d36477a88816ae62cfa5e1cb04e5d6a.tar.bz2
aports-cd54ae422d36477a88816ae62cfa5e1cb04e5d6a.tar.xz
testing/perl-soap-lite: fix url fix license
Diffstat (limited to 'testing/perl-soap-lite/APKBUILD')
-rw-r--r--testing/perl-soap-lite/APKBUILD23
1 files changed, 10 insertions, 13 deletions
diff --git a/testing/perl-soap-lite/APKBUILD b/testing/perl-soap-lite/APKBUILD
index bf32ecbecf..1b4a3ec336 100644
--- a/testing/perl-soap-lite/APKBUILD
+++ b/testing/perl-soap-lite/APKBUILD
@@ -4,35 +4,32 @@
pkgname=perl-soap-lite
_pkgreal=SOAP-Lite
pkgver=1.27
-pkgrel=0
+pkgrel=1
pkgdesc="Perl's Web Services Toolkit"
-url="http://search.cpan.org/dist/SOAP-Lite/"
+url="https://metacpan.org/release/SOAP-Lite"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends="perl-class-inspector perl-xml-parser perl-task-weaken perl-uri perl-http-daemon
-perl-libwww perl-test-warn perl-test-mockobject perl-mime-tools perl-io-socket-ssl
-perl-lwp-protocol-https perl-io-sessiondata perl-xml-simple"
-cpanmakedepends=""
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+cpandepends="perl-class-inspector perl-xml-parser perl-task-weaken perl-uri
+ perl-http-daemon perl-libwww perl-test-warn perl-test-mockobject
+ perl-mime-tools perl-io-socket-ssl perl-lwp-protocol-https
+ perl-io-sessiondata perl-xml-simple"
depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$_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
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}