summaryrefslogblamecommitdiff
path: root/user/perl-term-table/APKBUILD
blob: 11e6bdbd338ed75929da0c08ca01c46328a222f2 (plain) (tree)
1
2
3
4
5
6
7
8

                                                           
                       



                               
            



                                                                           
                                       
                            
                               
                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                      
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-term-table
_pkgreal=Term-Table
_author=EXODIST
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.016
pkgrel=0
pkgdesc="Perl module for producing pretty tables for terminal applications"
url="https://metacpan.org/pod/Term::Table"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-importer"
checkdepends="perl-test-simple"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="b35700fba336f57e479d818ef74fc746979b3acb081a7cde816b39c5fb65bedd5217257426ba22bdcaf8d73292cd98efd23295144a996f7bd117ada775cdfe5b  Term-Table-0.016.tar.gz"