[arch-commits] Commit in perl-type-tiny/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:28:53 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:28:52
  Author: foutrelis
Revision: 470158

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 470157, perl-type-tiny/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: perl-type-tiny/repos/community-staging-any/PKGBUILD (from rev 470157, perl-type-tiny/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 09:28:52 UTC (rev 470158)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=Type-Tiny
+pkgname=perl-${_pkg,,}
+pkgver=1.004002
+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=('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