Date: Sunday, June 21, 2020 @ 15:35:11 Author: felixonmars Revision: 649503
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 649501, perl-test-file/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: perl-test-file/repos/community-staging-any/PKGBUILD (from rev 649501, perl-test-file/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-06-21 15:35:11 UTC (rev 649503) @@ -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=4 +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=("https://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 +}