# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
# Generator  : CPANPLUS::Dist::Arch 1.28

pkgname=perl-module-build-xsutil
pkgver=0.19
pkgrel=5
pkgdesc="A Module::Build class for building XS modules"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl-devel-checkcompiler' 'perl')
makedepends=('perl-module-build')
checkdepends=('perl-capture-tiny' 'perl-cwd-guard' 'perl-file-copy-recursive-reduced')
url='https://search.cpan.org/dist/Module-Build-XSUtil'
source=("https://search.cpan.org/CPAN/authors/id/H/HI/HIDEAKIO/Module-Build-XSUtil-$pkgver.tar.gz")
_distdir="Module-Build-XSUtil-$pkgver"
sha512sums=('187f504c3f26d15b96cdc5b682d3487a31cf124475160b7fe5dce727d5d6ec5de5a58d09535adb62a1a95b3030fb62951b2cc0eca860eb03c66a48042cea8819')

build() {
  cd "$srcdir/$_distdir"
  perl Build.PL installdirs=vendor
  perl Build
}

check() {
  cd "$srcdir/$_distdir"
  perl Build test
}

package() {
  cd "$srcdir/$_distdir"
  perl Build install destdir="$pkgdir"
}

# vim:set ts=2 sw=2 et:
