summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 00:06:37 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 00:06:37 +0000
commit919e50c05f8e9e9263add5f2de1d784c1ad07de0 (patch)
treee5a6073a8e103387b85371532ab101396140ef60 /user
parent83fbda84c158fbb4403744891b0abc50641fed49 (diff)
downloadpackages-919e50c05f8e9e9263add5f2de1d784c1ad07de0.tar.gz
packages-919e50c05f8e9e9263add5f2de1d784c1ad07de0.tar.bz2
packages-919e50c05f8e9e9263add5f2de1d784c1ad07de0.tar.xz
packages-919e50c05f8e9e9263add5f2de1d784c1ad07de0.zip
user/perl-io-sessiondata: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-io-sessiondata/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-io-sessiondata/APKBUILD b/user/perl-io-sessiondata/APKBUILD
new file mode 100644
index 000000000..5016888b4
--- /dev/null
+++ b/user/perl-io-sessiondata/APKBUILD
@@ -0,0 +1,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"