aboutsummaryrefslogblamecommitdiffstats
path: root/testing/perl-io-sessiondata/APKBUILD
blob: 54008ca27552954a366b384331e288d884c68e6c (plain) (tree)
1
2
3
4
5
6
7
8
9





                                                           
        
                                          
                                                 
             



                                                                                 
 
                                    

           
                                                                



                                                                 





                                                                


           
                                      


                                                                           
                                                                                                                                                                         
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-io-sessiondata
_pkgreal=IO-SessionData
pkgver=1.03
pkgrel=2
pkgdesc="supporting module for SOAP::Lite"
url="https://metacpan.org/release/IO-SessionData"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
source="https://cpan.metacpan.org/authors/id/P/PH/PHRED/$_pkgreal-$pkgver.tar.gz"

builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

build() {
	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
	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"