[arch-commits] Commit in perl-moox-late/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 15:35:06 UTC 2020
Date: Sunday, June 21, 2020 @ 15:35:05
Author: felixonmars
Revision: 649502
archrelease: copy trunk to community-staging-any
Added:
perl-moox-late/repos/community-staging-any/
perl-moox-late/repos/community-staging-any/PKGBUILD
(from rev 649500, perl-moox-late/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: perl-moox-late/repos/community-staging-any/PKGBUILD (from rev 649500, perl-moox-late/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-06-21 15:35:05 UTC (rev 649502)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=MooX-late
+pkgname=perl-${_pkg,,}
+pkgver=0.015
+pkgrel=9
+pkgdesc="Easily translate Moose code to Moo"
+arch=('any')
+url="https://metacpan.org/release/${_pkg}"
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-moo' 'perl-type-tiny')
+checkdepends=('perl-test-fatal' 'perl-test-simple' 'perl-test-requires')
+source=("https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${_pkg}-${pkgver}.tar.gz")
+sha512sums=('4d685f4e68abe10487a98def8f0e7b0bafbd9928af27e61a5ac410bcafa9833a4aebdc8cd5bdbebd1a6ee53b4b0d5ae9bfa3864cae428b21c926730365fefb6d')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd ${_pkg}-${pkgver}
+ make test
+}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ make INSTALLDIRS=vendor DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list