# Contributor: Natanael Copa # Maintainer: Natanael Copa setvar pkgname = 'perl-module-versions-report' setvar pkgver = '1.06' setvar pkgrel = '0' setvar pkgdesc = ""Module::Versions::Report perl module"" setvar url = ""http://search.cpan.org/dist/Module-Versions-Report/"" setvar arch = ""noarch"" setvar license = ""GPLv2 or Artistic"" setvar depends = ""perl"" setvar makedepends = ""perl-dev"" setvar install = """" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/J/JE/JESSE/Module-Versions-Report-$pkgver.tar.gz"" setvar _builddir = ""$srcdir"/Module-Versions-Report-$pkgver" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir' PERL_MM_USE_DEFAULT=1' perl Makefile.PL INSTALLDIRS=vendor || return 1 make && make test || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } setvar sha512sums = ""e9cd5025f5ab586a41d6ecb9f1a1aaa9dcfd902899709ac62817168dc690bfbfe195ef8fd1246d4cc55157bf90f048719891fbeaec4ed1aa885c3ba3e3db08f1 Module-Versions-Report-1.06.tar.gz""