Date: Friday, April 5, 2019 @ 10:36:11 Author: felixonmars Revision: 449781
archrelease: copy trunk to community-any Added: perl-test-needs/repos/community-any/PKGBUILD (from rev 449780, perl-test-needs/trunk/PKGBUILD) Deleted: perl-test-needs/repos/community-any/PKGBUILD ----------+ PKGBUILD | 59 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 29 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-04-05 10:35:51 UTC (rev 449780) +++ PKGBUILD 2019-04-05 10:36:11 UTC (rev 449781) @@ -1,30 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=perl-test-needs -pkgver=0.002005 -pkgrel=4 -pkgdesc="Skip tests when modules not available" -arch=('any') -license=('PerlArtistic') -url="https://metacpan.org/release/Test-Needs" -depends=('perl') -options=('!emptydirs') -source=("https://cpan.metacpan.org/authors/id/H/HA/HAARG/Test-Needs-$pkgver.tar.gz") -sha512sums=('b3023067d1f8726b0ae2162d0b3722193a3b56d12d5c207cf9558f1552ae8ab554773b843d00f1c481857c259fa869b8fdaf5a4838ab0768f38726ddec4130c6') - -build() { - cd Test-Needs-$pkgver - perl Makefile.PL INSTALLDIRS=vendor - make -} - -check() { - cd Test-Needs-$pkgver - make test -} - -package() { - cd Test-Needs-$pkgver - make DESTDIR="$pkgdir" install -} Copied: perl-test-needs/repos/community-any/PKGBUILD (from rev 449780, perl-test-needs/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-04-05 10:36:11 UTC (rev 449781) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-test-needs +pkgver=0.002006 +pkgrel=1 +pkgdesc="Skip tests when modules not available" +arch=('any') +license=('PerlArtistic') +url="https://metacpan.org/release/Test-Needs" +depends=('perl') +options=('!emptydirs') +source=("https://cpan.metacpan.org/authors/id/H/HA/HAARG/Test-Needs-$pkgver.tar.gz") +sha512sums=('d0c1c527f486250a5c1e4b6e34e4ddcb1e7ab9233f9535b877cc36c8577592be28bf5f78567f45ec0388b276333742d1d15d7841827b64a8d170f475bd4488b7') + +build() { + cd Test-Needs-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Test-Needs-$pkgver + make test +} + +package() { + cd Test-Needs-$pkgver + make DESTDIR="$pkgdir" install +}