Date: Sunday, May 29, 2022 @ 11:54:38 Author: foutrelis Revision: 1214527
archrelease: copy trunk to community-staging-any Added: perl-file-sharedir-projectdistdir/repos/community-staging-any/ perl-file-sharedir-projectdistdir/repos/community-staging-any/PKGBUILD (from rev 1214525, perl-file-sharedir-projectdistdir/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: perl-file-sharedir-projectdistdir/repos/community-staging-any/PKGBUILD (from rev 1214525, perl-file-sharedir-projectdistdir/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2022-05-29 11:54:38 UTC (rev 1214527) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +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 +}