# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista setvar pkgname = 'perl-pathtools' setvar _pkgreal = 'PathTools' setvar pkgver = '3.62' setvar pkgrel = '3' setvar pkgdesc = ""The combined distribution for the File::Spec and Cwd modules"" setvar url = ""http://search.cpan.org/dist/PathTools/"" setvar arch = ""all"" setvar license = ""GPL PerlArtistic"" setvar cpandepends = """" setvar cpanmakedepends = """" setvar depends = "$cpandepends" setvar makedepends = ""perl-dev $cpanmakedepends"" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz"" setvar builddir = ""$srcdir/$_pkgreal-$pkgver"" proc prepare { cd $builddir' PERL_MM_USE_DEFAULT=1' perl Makefile.PL INSTALLDIRS=vendor } proc build { cd $builddir make && make test } proc package { cd $builddir make DESTDIR="$pkgdir" install || return 1 find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } proc doc { default_doc setvar replaces = ""perl-doc"" } setvar md5sums = ""bfe148a89064078cf162504c30a4c41a PathTools-3.62.tar.gz"" setvar sha256sums = ""36350e12f58871437ba03391f80a506e447e3c6630cc37d0625bc25ff1c7b4d2 PathTools-3.62.tar.gz"" setvar sha512sums = ""c2c39bf57286d11131d027d97e4486698a4ffbb917a8b0fd7466a8c469c009fee1f70bfe4f51d5b6feef4d57de0c9be3145aa3a35625a5f26bbe7788c0ba66aa PathTools-3.62.tar.gz""