[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Wed Jan 23 06:48:48 UTC 2019


    Date: Wednesday, January 23, 2019 @ 06:48:47
  Author: felixonmars
Revision: 427152

addpkg: perl-scope-guard 0.21-1

Added:
  perl-scope-guard/
  perl-scope-guard/repos/
  perl-scope-guard/trunk/
  perl-scope-guard/trunk/PKGBUILD

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

Added: perl-scope-guard/trunk/PKGBUILD
===================================================================
--- perl-scope-guard/trunk/PKGBUILD	                        (rev 0)
+++ perl-scope-guard/trunk/PKGBUILD	2019-01-23 06:48:47 UTC (rev 427152)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-scope-guard
+pkgver=0.21
+pkgrel=1
+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