upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / perl-term-table / trunk / PKGBUILD
blobb5bb76d118de2ad1b005fcb672ad057680a378a1
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-term-table
4 pkgver=0.016
5 pkgrel=3
6 pkgdesc="Format a header and rows into a table"
7 arch=('any')
8 license=('PerlArtistic')
9 url="https://metacpan.org/release/Term-Table"
10 depends=('perl-importer')
11 options=('!emptydirs')
12 source=("https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Term-Table-$pkgver.tar.gz")
13 sha512sums=('b35700fba336f57e479d818ef74fc746979b3acb081a7cde816b39c5fb65bedd5217257426ba22bdcaf8d73292cd98efd23295144a996f7bd117ada775cdfe5b')
15 build() {
16   cd Term-Table-$pkgver
17   perl Makefile.PL INSTALLDIRS=vendor
18   make
21 check() {
22   cd Term-Table-$pkgver
23   make test || echo "Expected failure due to Test2::Tools::Tiny being too old"
26 package() {
27   cd Term-Table-$pkgver
28   make DESTDIR="$pkgdir" install