Date: Saturday, May 25, 2019 @ 09:32:51 Author: foutrelis Revision: 470179
archrelease: copy trunk to community-staging-any Added: perl-hook-lexwrap/repos/community-staging-any/ perl-hook-lexwrap/repos/community-staging-any/PKGBUILD (from rev 470178, perl-hook-lexwrap/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: perl-hook-lexwrap/repos/community-staging-any/PKGBUILD (from rev 470178, perl-hook-lexwrap/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-05-25 09:32:51 UTC (rev 470179) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-hook-lexwrap +pkgver=0.26 +pkgrel=2 +pkgdesc="Lexically-scoped resource management" +arch=('any') +license=('PerlArtistic') +url="https://metacpan.org/release/Hook-LexWrap" +depends=('perl') +checkdepends=('perl-test-pod') +options=('!emptydirs') +source=("https://cpan.metacpan.org/authors/id/E/ET/ETHER/Hook-LexWrap-$pkgver.tar.gz") +sha512sums=('f7771d4fb8379f43fa5b864e345f4526603914c3c486c637ea07fb9e2d41569bf40948a9039fab7d10c683fb85e16a8653876613903d34cc6801fcc9e92aa58b') + +build() { + cd Hook-LexWrap-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Hook-LexWrap-$pkgver + make test +} + +package() { + cd Hook-LexWrap-$pkgver + make DESTDIR="$pkgdir" install +}