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

                                                                   



                               





                                                    

                                                  
                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                         
# Contributor: Sheila Aman <sheila@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 perl-devel-hide perl-term-size-perl"
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="e34d7e8d03e71e9f1758551e702711550804560a3165e0e9cea6756a7d87043e0408123b8c7997c79d6d77e7d48f167ed5aa12e4d572b1d787ef638ff71a3a1d  Term-Size-Any-0.002.tar.gz"