Date: Friday, April 12, 2019 @ 11:17:10 Author: felixonmars Revision: 451257
addpkg: perl-file-sharedir-projectdistdir 1.000009-1 Added: perl-file-sharedir-projectdistdir/ perl-file-sharedir-projectdistdir/repos/ perl-file-sharedir-projectdistdir/trunk/ perl-file-sharedir-projectdistdir/trunk/PKGBUILD ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Added: perl-file-sharedir-projectdistdir/trunk/PKGBUILD =================================================================== --- perl-file-sharedir-projectdistdir/trunk/PKGBUILD (rev 0) +++ perl-file-sharedir-projectdistdir/trunk/PKGBUILD 2019-04-12 11:17:10 UTC (rev 451257) @@ -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 +}