Date: Saturday, May 25, 2019 @ 09:10:40 Author: foutrelis Revision: 354018
archrelease: copy trunk to staging-any Added: perl-common-sense/repos/staging-any/ perl-common-sense/repos/staging-any/PKGBUILD (from rev 354017, perl-common-sense/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: perl-common-sense/repos/staging-any/PKGBUILD (from rev 354017, perl-common-sense/trunk/PKGBUILD) =================================================================== --- staging-any/PKGBUILD (rev 0) +++ staging-any/PKGBUILD 2019-05-25 09:10:40 UTC (rev 354018) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-common-sense +pkgver=3.74 +pkgrel=5 +pkgdesc="Implements some sane defaults for Perl programs" +arch=('any') +url="https://search.cpan.org/dist/common-sense" +license=('PerlArtistic' 'GPL') +depends=('perl') +options=('!emptydirs') +source=("https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-$pkgver.tar.gz") +md5sums=('35b273147200c4c95eef7816f83e572d') + +build() { + cd common-sense-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd common-sense-$pkgver + make test +} + +package() { + cd common-sense-$pkgver + make DESTDIR="$pkgdir" install +}