# Automatically generated by apkbuild-cpan, template 1 # Maintainer: Leonardo Arena pkgname=perl-config-inifiles _pkgreal=Config-IniFiles pkgver=2.82 pkgrel=0 pkgdesc="A module for reading .ini-style configuration files." url="http://search.cpan.org/~shlomif/" arch="noarch" license="GPL PerlArtistic" cpandepends="perl-list-moreutils" cpanmakedepends=" " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/${_pkgreal}-${pkgver}.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$_builddir" make && make test } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="e0e85657c64461a4e19a11b1862fd7ef Config-IniFiles-2.82.tar.gz" sha256sums="fd116a7104ce2f477b182dc3a57a191a3a1f65c42cd9c2dabab65e11dce88ee1 Config-IniFiles-2.82.tar.gz" sha512sums="6594b28fc4f3c662dc56ad787c8b4408b5a5a7b615fc6706942b9845520d55da6b1e4911e24ae3cffccdb733557f8efa6674845620c9e63d31b9dbdffbdd27a7 Config-IniFiles-2.82.tar.gz"