# Maintainer: Felix Yan pkgname=perl-file-sharedir-projectdistdir pkgver=1.000009 pkgrel=5 pkgdesc="Simple set-and-forget using of a '/share' directory in your projects root" arch=('any') license=('PerlArtistic') url="https://metacpan.org/release/File-ShareDir-ProjectDistDir" depends=('perl-file-sharedir' 'perl-path-finddev' 'perl-path-isdev' 'perl-path-tiny' 'perl-sub-exporter') makedepends=('perl-class-tiny') checkdepends=('perl-capture-tiny') options=('!emptydirs') source=("https://cpan.metacpan.org/authors/id/K/KE/KENTNL/File-ShareDir-ProjectDistDir-$pkgver.tar.gz") sha512sums=('23bbb04aaadfc7ac538f635fce73c1b16398105821f2d5b3ec415092ac8b26cef25dd537af9b0454313a7c147fbb11f4510add9cbd32925e02a30f71ca7c9676') build() { cd File-ShareDir-ProjectDistDir-$pkgver perl Makefile.PL INSTALLDIRS=vendor make } check() { cd File-ShareDir-ProjectDistDir-$pkgver make test } package() { cd File-ShareDir-ProjectDistDir-$pkgver make DESTDIR="$pkgdir" install }