# Automatically generated by apkbuild-cpan, template 1 # Maintainer: Natanael Copa pkgname=perl-date-manip _pkgreal=Date-Manip pkgver=6.53 pkgrel=0 pkgdesc="Date manipulation routines" url="http://search.cpan.org/dist/Date-Manip/" arch="noarch" license="GPL PerlArtistic" cpandepends="perl-yaml-syck" cpanmakedepends="perl-test-inter " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends perl-module-build" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/$_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="d78f6e1857e74aa4883482348fca4668 Date-Manip-6.53.tar.gz" sha256sums="677aebc40e4e84eef548ac4c54095a19978137aaab9b39c8ee526be6a6f0cb6f Date-Manip-6.53.tar.gz" sha512sums="70dec280bb1df1cf093ade2fbfefe0d2028ef156eb3b151acb16131701969cef1356b1955070e0fa7358c64d535c569c36d42674b83b7897fcfdc67fd931048a Date-Manip-6.53.tar.gz"