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

Felix Yan felixonmars at archlinux.org
Wed Aug 1 09:23:12 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:23:12
  Author: felixonmars
Revision: 366406

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 366405, perl-term-table/trunk/PKGBUILD)

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

Copied: perl-term-table/repos/community-staging-any/PKGBUILD (from rev 366405, perl-term-table/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 09:23:12 UTC (rev 366406)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-term-table
+pkgver=0.012
+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=('913541de3bdf694d44aca82ae7e87144d24f062824df345dba55865c1d535c3830de9fa3df27c6f566f5ac994c24a654bebf72b6fdbc173c7754a89ebec8ea6a')
+
+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