summaryrefslogblamecommitdiff
path: root/user/perl-io-sessiondata/APKBUILD
blob: 91850fe1555986d82ff1304b2cafac1be1c3d21a (plain) (tree)
1
2
3
4
5
6
7
                                                  
                                                          
                           



                               




                                                 
                                       
              

                      

                                                                                        

         




                                                                 



                 




                                                                                                                                                                         
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-io-sessiondata
_pkgreal=IO-SessionData
_author=PHRED
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
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-1.0+"
depends="perl"
makedepends="perl-dev"
subpackages=""
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="3fe6c9c275c64e4250933f6bc377172ed09d123b5aab3ac981b12b42c571be5638728bdd0d16438f973606da5b6a583aeaf6213008f249ccee7e275383eebd6e  IO-SessionData-1.03.tar.gz"