Date: Saturday, May 25, 2019 @ 11:05:49 Author: foutrelis Revision: 470350
archrelease: copy trunk to community-staging-any Added: perl-test-file/repos/community-staging-any/ perl-test-file/repos/community-staging-any/PKGBUILD (from rev 470348, perl-test-file/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: perl-test-file/repos/community-staging-any/PKGBUILD (from rev 470348, perl-test-file/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-05-25 11:05:49 UTC (rev 470350) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Bruno Dupuis <lis...@lisael.org> +# Contributor: Rafael Reggiani Manzo <rr.ma...@gmail.com> + +pkgname=perl-test-file +pkgver=1.443 +pkgrel=3 +pkgdesc="This modules provides a collection of test utilities for file attributes." +arch=('any') +url='https://github.com/briandfoy/test-file' +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-test-utf8') +source=("http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Test-File-$pkgver.tar.gz") +sha512sums=('9ad66b3a9dc1c3752a4ec22934db9139ac010ac3237a3de018d4ec4a65ac047f0152ab9e7979a2615412c1af02a1f2dfa0dbfdf5eba5358628b1b443232c45b2') + +build() { + cd Test-File-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Test-File-$pkgver + make test +} + +package() { + cd Test-File-$pkgver + make DESTDIR="$pkgdir" install +}