summaryrefslogblamecommitdiff
path: root/user/perl-term-size-any/APKBUILD
blob: b375a39fd172a470b2749d8c53581b1feb2b71d2 (plain) (tree)
1
2
3
4
5
6
7
                                                         

                                                                   



                               





                                                    
                                             

                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                         
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-term-size-any
_pkgreal=Term-Size-Any
_author=FERREIRA
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.002
pkgrel=0
pkgdesc="Perl module for retrieving terminal sizing"
url="https://metacpan.org/pod/Term::Size::Any"
arch="noarch"
license="Artistic-1.0-Perl"
depends="perl-devel-hide perl-term-size-perl"
makedepends=""
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="e34d7e8d03e71e9f1758551e702711550804560a3165e0e9cea6756a7d87043e0408123b8c7997c79d6d77e7d48f167ed5aa12e4d572b1d787ef638ff71a3a1d  Term-Size-Any-0.002.tar.gz"