Date: Friday, April 12, 2019 @ 11:26:12 Author: felixonmars Revision: 451258
archrelease: copy trunk to community-any Added: perl-file-sharedir-projectdistdir/repos/community-any/ perl-file-sharedir-projectdistdir/repos/community-any/PKGBUILD (from rev 451257, perl-file-sharedir-projectdistdir/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: perl-file-sharedir-projectdistdir/repos/community-any/PKGBUILD (from rev 451257, perl-file-sharedir-projectdistdir/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2019-04-12 11:26:12 UTC (rev 451258) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-file-sharedir-projectdistdir +pkgver=1.000009 +pkgrel=1 +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 +}