# Maintainer: Jesus E. pkgname=perl-devel-checklib pkgver=1.14 pkgrel=1 pkgdesc="Module to check if other perl modules are installed" arch=('any') url='https://search.cpan.org/dist/Devel-CheckLib/' license=('GPL-1') depends=('perl') makedepends=('perl-capture-tiny') options=('!emptydirs') source=("https://search.cpan.org/CPAN/authors/id/M/MA/MATTN/Devel-CheckLib-${pkgver}.tar.gz" 'COPYING') sha512sums=('a5a310cd20e7bfa3c28718b0cba997e029ae0a422ed355d70774691521a3f5c2942eb39269dec1b09e706c1d124559313ab79e787430e0bb3ad43d8aa937539c' 'e239b539f2c46c1ae3da87c4983a0fda67dc8ae622d607b507b5c523af3bdf99e7bea8931e3a7c6007910bfe9e21a761e03e8203de95b5aceea425a97d0a84c9') build() { cd Devel-CheckLib-$pkgver perl Makefile.PL INSTALLDIRS=vendor make } check() { cd Devel-CheckLib-$pkgver make test } package() { cd Devel-CheckLib-$pkgver make install DESTDIR="$pkgdir" install -Dm644 ../COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING }