# Maintainer: Jesus E. pkgname=perl-class-inspector pkgver=1.36 pkgrel=1 pkgdesc="Get information about a class and its structure" arch=('any') url="https://search.cpan.org/dist/Class-Inspector" license=('GPL-1') depends=('perl') options=('!emptydirs') source=("https://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/Class-Inspector-${pkgver}.tar.gz") sha512sums=('488fcdbc9d135ed833331b0d5feb452997f35400b185341be69996438c278961eeb543648a629940765e779ca5cc87c5c3aa2c61a7fac12d2ecf6c599b68715a') build() { cd "Class-Inspector-${pkgver}" perl Makefile.PL INSTALLDIRS=vendor make } check() { cd "Class-Inspector-${pkgver}" make test } package() { cd "Class-Inspector-${pkgver}" make DESTDIR="$pkgdir" install install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } # vim:set ts=2 sw=2 et: