aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-09-27 10:14:59 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-09-27 10:15:08 -0300
commitb05954a143493b3bd1164263d833ebb4b9371d35 (patch)
tree632ecb6347ebd37f85a4f1aae043efaa7681ccb8
parent0396ebc42fe8995bb1e13bc6420b5dd250bb6779 (diff)
downloadaports-b05954a143493b3bd1164263d833ebb4b9371d35.tar.gz
aports-b05954a143493b3bd1164263d833ebb4b9371d35.tar.bz2
aports-b05954a143493b3bd1164263d833ebb4b9371d35.tar.xz
main/perl-apache-session: upgrade to 1.94
-rw-r--r--main/perl-apache-session/APKBUILD25
1 files changed, 11 insertions, 14 deletions
diff --git a/main/perl-apache-session/APKBUILD b/main/perl-apache-session/APKBUILD
index 481ec7a191..3e908247f8 100644
--- a/main/perl-apache-session/APKBUILD
+++ b/main/perl-apache-session/APKBUILD
@@ -1,27 +1,24 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 3
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-apache-session
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Apache-Session
-pkgver=1.93
-pkgrel=2
+pkgver=1.94
+pkgrel=0
pkgdesc="A persistence framework for session data"
-url="https://metacpan.org/release/Apache-Session"
+url="https://metacpan.org/release/Apache-Session/"
arch="noarch"
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"
+depends="perl"
+makedepends="perl-dev perl-test-deep perl-test-exception perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/C/CH/CHORNY/Apache-Session-$pkgver.tar.gz"
-
builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
- perl Build.PL installdirs=vendor
-}
-
build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ perl Build.PL --installdirs=vendor
./Build
}
@@ -30,8 +27,8 @@ check() {
}
package() {
- ./Build install destdir="$pkgdir"
+ ./Build install --destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="568653b5151df61dbbc4b034043e1d4be75642122ab920a13155c4abbe052e4d96915b1453eb9f2f06bd1159d95efef7ed5905b4d2f2b8c6fdd3711d0cf5dbe4 Apache-Session-1.93.tar.gz"
+sha512sums="796874e25dfc38a45998f8e13c3dabda779c9590c768ddc706a7bdae4b9e4b74ea457617c0079dd6d8168d97c19428d7609af00d5db218ad545f3c7dd0c0b825 Apache-Session-1.94.tar.gz"