[arch-commits] Commit in perl-scope-guard/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 08:32:56 UTC 2021


    Date: Monday, May 24, 2021 @ 08:32:55
  Author: foutrelis
Revision: 943942

archrelease: copy trunk to community-staging-any

Added:
  perl-scope-guard/repos/community-staging-any/
  perl-scope-guard/repos/community-staging-any/PKGBUILD
    (from rev 943940, perl-scope-guard/trunk/PKGBUILD)

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

Copied: perl-scope-guard/repos/community-staging-any/PKGBUILD (from rev 943940, perl-scope-guard/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 08:32:55 UTC (rev 943942)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-scope-guard
+pkgver=0.21
+pkgrel=4
+pkgdesc="Lexically-scoped resource management"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Scope-Guard"
+depends=('perl')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/C/CH/CHOCOLATE/Scope-Guard-$pkgver.tar.gz")
+sha512sums=('65492e08ab79dc323649166e83ffc13c6f1fffaa9c60d581d8854dfe427a54a3c3c5e4d8b90308d4b1a31a1a54c7977b4e1d36fc9005c6e716c2361ce187fc9f')
+
+build() {
+  cd Scope-Guard-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Scope-Guard-$pkgver
+  make test
+}
+
+package() {
+  cd Scope-Guard-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list