[arch-commits] Commit in perl-type-tiny/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 09:22:21 UTC 2018
Date: Wednesday, August 1, 2018 @ 09:22:21
Author: foutrelis
Revision: 366402
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 366401, perl-type-tiny/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: perl-type-tiny/repos/community-staging-any/PKGBUILD (from rev 366401, perl-type-tiny/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 09:22:21 UTC (rev 366402)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=Type-Tiny
+pkgname=perl-${_pkg,,}
+pkgver=1.002002
+pkgrel=2
+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=('e820d389104c73a6d9ea8795c6ef64b8e345d4b3014e82306e5de09f7ceacadce03989925dfc6d69828ef19bb4c275708fd0fb55da06875ec284e596fba6c542')
+
+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