diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-11-27 18:59:54 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-27 18:59:54 +0100 |
commit | d5ad99adf2c86cab34fe01a00468367834e579eb (patch) | |
tree | cb324ddfea4a03f8a055d1aa3bb26c8c7767ebc4 | |
parent | 54806a23f6391c780ee6095f8cf87986fd68cf44 (diff) | |
download | aports-d5ad99adf2c86cab34fe01a00468367834e579eb.tar.bz2 aports-d5ad99adf2c86cab34fe01a00468367834e579eb.tar.xz |
main/perl-apache-session: fix url=,source= and license=
-rw-r--r-- | main/perl-apache-session/APKBUILD | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/main/perl-apache-session/APKBUILD b/main/perl-apache-session/APKBUILD index faa25e198e..efd4dfcee9 100644 --- a/main/perl-apache-session/APKBUILD +++ b/main/perl-apache-session/APKBUILD @@ -4,36 +4,34 @@ pkgname=perl-apache-session _pkgreal=Apache-Session pkgver=1.93 -pkgrel=0 +pkgrel=1 pkgdesc="A persistence framework for session data" -url="http://search.cpan.org/dist/Apache-Session/" +url="https://metacpan.org/release/Apache-Session" arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="perl-test-exception perl-test-deep " +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +cpanmakedepends="perl-test-exception perl-test-deep" depends="$cpandepends" makedepends="perl-dev perl-sub-uplevel $cpanmakedepends perl-module-build" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/$_pkgreal-$pkgver.tar.gz" +source="https://cpan.metacpan.org/authors/id/C/CH/CHORNY/Apache-Session-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 + perl Build.PL installdirs=vendor } build() { - cd "$_builddir" - ./Build && ./Build test + ./Build +} + +check() { + ./Build test } package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 + ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="ce193821557215563e99672ed77025c1 Apache-Session-1.93.tar.gz" -sha256sums="8e5a4882ac8ec657d1018d74d3ba37854e2688a41ddd0e1d73955ea59f276e8d Apache-Session-1.93.tar.gz" sha512sums="568653b5151df61dbbc4b034043e1d4be75642122ab920a13155c4abbe052e4d96915b1453eb9f2f06bd1159d95efef7ed5905b4d2f2b8c6fdd3711d0cf5dbe4 Apache-Session-1.93.tar.gz" |