[arch-commits] Commit in perl-return-multilevel/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Apr 11 05:13:17 UTC 2019


    Date: Thursday, April 11, 2019 @ 05:13:16
  Author: felixonmars
Revision: 450935

archrelease: copy trunk to community-any

Added:
  perl-return-multilevel/repos/community-any/
  perl-return-multilevel/repos/community-any/PKGBUILD
    (from rev 450934, perl-return-multilevel/trunk/PKGBUILD)

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

Copied: perl-return-multilevel/repos/community-any/PKGBUILD (from rev 450934, perl-return-multilevel/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-04-11 05:13:16 UTC (rev 450935)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-return-multilevel
+pkgver=0.05
+pkgrel=1
+pkgdesc="Return across multiple call levels"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Return-MultiLevel"
+depends=('perl-data-munge')
+checkdepends=('perl-test-fatal')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/M/MA/MAUKE/Return-MultiLevel-$pkgver.tar.gz")
+sha512sums=('ca8d5c2067c8e47e49988363a5f5816e51f13eb07a83daccb55208654f23b9dd6a67128d38cf0e61891cb0867d42a3dc0653795907ad743a72691d5da9f8be0d')
+
+build() {
+  cd Return-MultiLevel-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Return-MultiLevel-$pkgver
+  make test
+}
+
+package() {
+  cd Return-MultiLevel-$pkgver
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list