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

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun May 29 10:20:07 UTC 2022


    Date: Sunday, May 29, 2022 @ 10:20:07
  Author: foutrelis
Revision: 1214160

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

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

Copied: perl-type-tiny/repos/community-staging-any/PKGBUILD (from rev 1214159, perl-type-tiny/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2022-05-29 10:20:07 UTC (rev 1214160)
@@ -0,0 +1,33 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=Type-Tiny
+pkgname=perl-${_pkg,,}
+pkgver=1.012004
+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=('26b861f1e9caad5717f14eb0a6c71010f0306b614292fdc5ee95041ebdd2035ac6cfd4a6a186943479de630f3ff143914671111f5cec86bc4c08842cec30d2af')
+
+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