Skip to content
Snippets Groups Projects
Commit e63392fc authored by J0WI's avatar J0WI Committed by Leo
Browse files

main/perl-cgi-session: modernize

parent 000deff1
No related branches found
No related tags found
1 merge request!18821main/perl-cgi-session: modernize
......@@ -2,26 +2,32 @@
pkgname=perl-cgi-session
_name=CGI-Session
pkgver=4.48
pkgrel=2
pkgrel=3
pkgdesc="perl module for persistent session data in CGI applications"
url="http://search.cpan.org/~markstos/CGI-Session-$pkgver/"
url="https://metacpan.org/pod/CGI::Session"
arch="noarch"
license="PerlArtistic"
depends="perl"
makedepends="perl-dev"
options="!check" # failing test
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/MA/MARKSTOS/CGI-Session-$pkgver.tar.gz"
build () {
build() {
cd "$srcdir"/$_name-$pkgver
perl Makefile.PL INSTALLDIRS=vendor || return 1
make MAN1EXT=1p MAN3EXT=3pm || return 1
perl Makefile.PL INSTALLDIRS=vendor
make MAN1EXT=1p MAN3EXT=3pm
}
check() {
make test
}
package() {
cd "$srcdir"/$_name-$pkgver
make install MAN1EXT=1p MAN3EXT=3pm DESTDIR="$pkgdir" || return 1
make install MAN1EXT=1p MAN3EXT=3pm DESTDIR="$pkgdir"
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}
sha512sums="82d6a498035b91474df712fdae2c9ce7290157ddec36095757f16b5cbce593d3b5115077c722350d1c890c299230f7489a41328ed64b85a0f4c3cfff8aceef54 CGI-Session-4.48.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment