# Automatically generated by apkbuild-cpan, template 1 # Maintainer: Natanael Copa pkgname=perl-date-manip _pkgreal=Date-Manip pkgver=6.75 pkgrel=1 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 } check() { cd "$builddir" make test } package() { cd "$builddir" make DESTDIR="$pkgdir" pure_install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums="0a58a2c9e26edcbff5ca36328d55e39b417f22620c07b9b473dd9723f6b324dcb8bd8f37430420a87f8d6cffbcdcb93cf2f92382972d6d210f96ab236a042dba Date-Manip-6.75.tar.gz"