[arch-commits] Commit in perl-term-table/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 10:38:35 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:38:35
  Author: felixonmars
Revision: 649061

archrelease: copy trunk to community-staging-any

Added:
  perl-term-table/repos/community-staging-any/
  perl-term-table/repos/community-staging-any/PKGBUILD
    (from rev 649059, perl-term-table/trunk/PKGBUILD)

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

Copied: perl-term-table/repos/community-staging-any/PKGBUILD (from rev 649059, perl-term-table/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 10:38:35 UTC (rev 649061)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-term-table
+pkgver=0.015
+pkgrel=2
+pkgdesc="Format a header and rows into a table"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Term-Table"
+depends=('perl-importer')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Term-Table-$pkgver.tar.gz")
+sha512sums=('2f5cbc28d0d0f76a6269892055871c103a65d9fd9836d3a0b7c7320cf1439d27cba596453f1d94bd324bd4d4dffdd0eb672801aa23f9a8609310a28eca15dd87')
+
+build() {
+  cd Term-Table-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Term-Table-$pkgver
+  make test || warning "Expected failure due to Test2::Tools::Tiny being too old"
+}
+
+package() {
+  cd Term-Table-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list