[arch-commits] Commit in perl-type-tiny/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 10:42:15 UTC 2020
Date: Sunday, June 21, 2020 @ 10:42:14
Author: felixonmars
Revision: 649097
archrelease: copy trunk to community-staging-any
Added:
perl-type-tiny/repos/community-staging-any/
perl-type-tiny/repos/community-staging-any/PKGBUILD
(from rev 649096, perl-type-tiny/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: perl-type-tiny/repos/community-staging-any/PKGBUILD (from rev 649096, perl-type-tiny/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-06-21 10:42:14 UTC (rev 649097)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=Type-Tiny
+pkgname=perl-${_pkg,,}
+pkgver=1.004002
+pkgrel=3
+pkgdesc="tiny, yet Moo(se)-compatible type constraint"
+arch=('any')
+url="https://metacpan.org/release/${_pkg}"
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl' 'perl-exporter-tiny')
+checkdepends=('perl-test-simple')
+source=("https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/${_pkg}-${pkgver}.tar.gz")
+sha512sums=('fcdd8740e1ef6a2c5d214a54b57e65ebd222188377ebdd7bbdadc74741f3a5d00ba4a7490628bfb7cc937a32f5d5a578963ea1b6208e8fb99f095f2c3239cf82')
+
+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