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

Felix Yan felixonmars at archlinux.org
Mon May 24 08:30:33 UTC 2021


    Date: Monday, May 24, 2021 @ 08:30:32
  Author: felixonmars
Revision: 943882

archrelease: copy trunk to community-staging-any

Added:
  perl-class-tiny/repos/community-staging-any/
  perl-class-tiny/repos/community-staging-any/PKGBUILD
    (from rev 943881, perl-class-tiny/trunk/PKGBUILD)

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

Copied: perl-class-tiny/repos/community-staging-any/PKGBUILD (from rev 943881, perl-class-tiny/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 08:30:32 UTC (rev 943882)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-class-tiny
+pkgver=1.008
+pkgrel=2
+pkgdesc="Minimalist class construction"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Class-Tiny"
+depends=('perl')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Class-Tiny-$pkgver.tar.gz")
+sha512sums=('908eb8547e01036ef361f0a8623d028b1e733ea003fc227788b9c18d0db544a70dbe47de18822f9699a19156f36eac73caeb4849d44eea14ada1128afdb7efbd')
+
+build() {
+  cd Class-Tiny-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Class-Tiny-$pkgver
+  make test
+}
+
+package() {
+  cd Class-Tiny-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list