diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-06-07 13:27:00 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-14 17:38:08 -0300 |
commit | 102b50ede88dbce8b53c18f69e290edb4caf2cae (patch) | |
tree | 5b384fabdf794a9f981aec1a495f9a347010d9cc /testing/perl-io-sessiondata | |
parent | 3e35cda614fd71a83697dd8f54eb0ba113e36815 (diff) | |
download | aports-102b50ede88dbce8b53c18f69e290edb4caf2cae.tar.bz2 aports-102b50ede88dbce8b53c18f69e290edb4caf2cae.tar.xz |
testing/perl-io-sessiondata: fix URL&License
* moderniz
Diffstat (limited to 'testing/perl-io-sessiondata')
-rw-r--r-- | testing/perl-io-sessiondata/APKBUILD | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/testing/perl-io-sessiondata/APKBUILD b/testing/perl-io-sessiondata/APKBUILD index 5df3ae7d9e..0e5e5aa0fa 100644 --- a/testing/perl-io-sessiondata/APKBUILD +++ b/testing/perl-io-sessiondata/APKBUILD @@ -4,38 +4,34 @@ pkgname=perl-io-sessiondata _pkgreal=IO-SessionData pkgver=1.03 -pkgrel=0 +pkgrel=1 pkgdesc="supporting module for SOAP::Lite" -url="http://search.cpan.org/dist/IO-SessionData/" +url="https://metacpan.org/release/IO-SessionData" arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="" -source="http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/$_pkgreal-$pkgver.tar.gz" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +depends="perl" +makedepends="perl-dev" +source="https://cpan.metacpan.org/authors/id/P/PH/PHRED/$_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}'` - make && make test + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + make +} + +check() { + make test } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="790f9e05465c774cf9a6299500463104 IO-SessionData-1.03.tar.gz" -sha256sums="64a4712a3edbb3fd10230db296c29c8c66f066adfbc0c3df6a48258fef392ddd IO-SessionData-1.03.tar.gz" sha512sums="3fe6c9c275c64e4250933f6bc377172ed09d123b5aab3ac981b12b42c571be5638728bdd0d16438f973606da5b6a583aeaf6213008f249ccee7e275383eebd6e IO-SessionData-1.03.tar.gz" |