[arch-commits] Commit in perl-moox-late/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Aug 1 11:45:51 UTC 2018
Date: Wednesday, August 1, 2018 @ 11:45:50
Author: felixonmars
Revision: 366537
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 366536, perl-moox-late/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: perl-moox-late/repos/community-staging-any/PKGBUILD (from rev 366536, perl-moox-late/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 11:45:50 UTC (rev 366537)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=MooX-late
+pkgname=perl-${_pkg,,}
+pkgver=0.015
+pkgrel=7
+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