# 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-devel-checkcompiler
pkgver=0.07
pkgrel=7
pkgdesc="Check the compiler's availability"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
makedepends=('perl-module-build')
checkdepends=('perl-test-requires')
url='https://search.cpan.org/dist/Devel-CheckCompiler'
source=('https://search.cpan.org/CPAN/authors/id/S/SY/SYOHEX/Devel-CheckCompiler-0.05.tar.gz')
sha512sums=('5bf40abc7df914a9bbd5b185a40d597272f2f8fb0a94f95b1790ed247a529af8c31bc8ddfcae75ceab4d504ad8faf86ed63eefbc5081a208bcccf0902464d73e')
_distdir="Devel-CheckCompiler-0.05"

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:
