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

                                                           
                          



                               




                                                    
                                       

                                                  
                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                         
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
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 OR GPL-1.0+"
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"