[arch-commits] Commit in perl-moox-late/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 11:06:58 UTC 2019
Date: Saturday, May 25, 2019 @ 11:06:58
Author: foutrelis
Revision: 470358
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 470357, perl-moox-late/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: perl-moox-late/repos/community-staging-any/PKGBUILD (from rev 470357, perl-moox-late/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 11:06:58 UTC (rev 470358)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=MooX-late
+pkgname=perl-${_pkg,,}
+pkgver=0.015
+pkgrel=8
+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