Date: Saturday, May 25, 2019 @ 09:21:05 Author: felixonmars Revision: 470115
archrelease: copy trunk to community-staging-any Added: perl-file-homedir/repos/community-staging-any/ perl-file-homedir/repos/community-staging-any/PKGBUILD (from rev 470114, perl-file-homedir/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: perl-file-homedir/repos/community-staging-any/PKGBUILD (from rev 470114, perl-file-homedir/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-05-25 09:21:05 UTC (rev 470115) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-file-homedir +pkgver=1.004 +pkgrel=2 +pkgdesc="Find your home and other directories on any platform" +arch=('any') +license=('PerlArtistic') +url="https://metacpan.org/release/File-HomeDir" +depends=('perl-file-which') +options=('!emptydirs') +source=("https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-HomeDir-$pkgver.tar.gz") +sha512sums=('21671f6badb23fc7e89ef7507266a0b85b9bbf38897b24651f6a84795b5174dd4bfa43251231cbdb1566183e12b253e2504f1fe0f8e195c35d9b5e3d639aa334') + +build() { + cd File-HomeDir-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd File-HomeDir-$pkgver + make test +} + +package() { + cd File-HomeDir-$pkgver + make DESTDIR="$pkgdir" install +}