[perl-extutils-typemap] fixed, builds again!

This commit is contained in:
yar 2014-04-22 15:36:05 -07:00
parent e8893826a0
commit 556210f2a2
2 changed files with 6 additions and 10 deletions

View file

@ -6,6 +6,7 @@ pkgbase = perl-extutils-typemap
arch = any
license = unknown
depends = perl
options = !emptydirs
source = http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/ExtUtils-Typemap-1.00.tar.gz
sha256sums = b1b015772dbb068b93a0f6ffa02f5d94822365e6018ac5ed2bc53ca669071fc7

View file

@ -8,29 +8,24 @@ pkgdesc="ExtUtils::Typemap "
arch=('any')
url="http://search.cpan.org/dist/${cpaname}/"
license=('unknown')
options=('!emptydirs')
depends=('perl')
source=("http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/${cpaname}-${pkgver}.tar.gz")
sha256sums=('b1b015772dbb068b93a0f6ffa02f5d94822365e6018ac5ed2bc53ca669071fc7')
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='${pkgdir}'" \
PERL_MB_OPT="--installdirs vendor --destdir '${pkgdir}'" \
MODULEBUILDRC=/dev/null
build() {
cd "${srcdir}/${cpaname}-${pkgver}"
perl Build.PL
./Build
perl Makefile.PL
make
}
check() {
cd "${srcdir}/${cpaname}-${pkgver}"
./Build test
make test
}
package () {
cd "${srcdir}/${cpaname}-${pkgver}"
./Build install
find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete
make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
}