blob: 5016888b43cb685f4df910239fc36cb9f64c121a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-io-sessiondata
_pkgname=IO-SessionData
pkgver=1.03
pkgrel=0
pkgdesc="Support session data in Perl"
url="https://metacpan.org/release/IO-SessionData"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends=""
makedepends="perl-dev"
subpackages=""
source="https://cpan.metacpan.org/authors/id/P/PH/PHRED/IO-SessionData-$pkgver.tar.gz"
builddir="$srcdir/IO-SessionData-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="3fe6c9c275c64e4250933f6bc377172ed09d123b5aab3ac981b12b42c571be5638728bdd0d16438f973606da5b6a583aeaf6213008f249ccee7e275383eebd6e IO-SessionData-1.03.tar.gz"
|