[arch-commits] Commit in perl-hook-lexwrap/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 10:38:11 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:38:08
  Author: felixonmars
Revision: 649055

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 649052, perl-hook-lexwrap/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: perl-hook-lexwrap/repos/community-staging-any/PKGBUILD (from rev 649052, perl-hook-lexwrap/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 10:38:08 UTC (rev 649055)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-hook-lexwrap
+pkgver=0.26
+pkgrel=3
+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
+}



More information about the arch-commits mailing list