# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-spreadsheet-parseexcel _pkgreal=Spreadsheet-ParseExcel pkgver=0.65 pkgrel=4 pkgdesc="Read information from an Excel file." url="https://metacpan.org/release/Spreadsheet-ParseExcel/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends="perl perl-digest-perl-md5 perl-ole-storage_lite perl-io-stringy perl-crypt-rc4" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/D/DO/DOUGW/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_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="a57be764a9781d1e219d1aab940a9b834d1ddf90ebb4966eaeba86afea3de03617fbdeda67d9bc2bedd8651cc3feafd46905021150bbcd68cbc7453865877637 Spreadsheet-ParseExcel-0.65.tar.gz"