Date: Saturday, May 25, 2019 @ 09:09:46 Author: foutrelis Revision: 470022
archrelease: copy trunk to community-staging-any Added: perl-regexp-common/repos/community-staging-any/ perl-regexp-common/repos/community-staging-any/PKGBUILD (from rev 470020, perl-regexp-common/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: perl-regexp-common/repos/community-staging-any/PKGBUILD (from rev 470020, perl-regexp-common/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-05-25 09:09:46 UTC (rev 470022) @@ -0,0 +1,37 @@ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> +# Contributor: yaroslav <proninyaros...@mail.ru> +# Contributor: Jason St. John <jstjohn .. purdue . edu> +# Contributor: Caleb Cushing <xenoterrac...@gmail.com> + +pkgname=perl-regexp-common +pkgver=2017060201 +pkgrel=2 +pkgdesc="Commonly requested regular expressions" +arch=('any') +url="https://metacpan.org/release/Regexp-Common" +license=('PerlArtistic' 'Artistic2.0' 'BSD' 'MIT') +depends=('perl') +options=('!emptydirs') +source=(https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-$pkgver.tar.gz) +sha256sums=('ee07853aee06f310e040b6bf1a0199a18d81896d3219b9b35c9630d0eb69089b') + +build() { + cd Regexp-Common-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Regexp-Common-$pkgver + make test +} + +package() { + cd Regexp-Common-$pkgver + make DESTDIR="$pkgdir" install + + # We have a sale on licenses; grab yours today! + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYRIGHT* +} + +# vim:set ts=2 sw=2 et: