aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-io-tty/APKBUILD
blob: 470164ba113d75b38a5f6391ff91bec5736cbb9d (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                              

           
                                   
                                      
          


                                               
                          
                                                                                 
 
                                    

           
                                                                 


         


            
         


                 
           
                                      


                                                                           
                                                                                                                                                                 
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-io-tty
_pkgreal=IO-Tty
pkgver=1.14
pkgrel=0
pkgdesc="Pseudo ttys and constants"
url="https://metacpan.org/pod/IO::Tty"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/T/TO/TODDR/$_pkgreal-$pkgver.tar.gz"

builddir="$srcdir/$_pkgreal-$pkgver"

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

build() {
	make
}

check() {
	make test
}

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

sha512sums="4d6a5299f87eab0281f5e26953bc1537d760d88c486de9c8512750af733d5e466e059400a310746eb8fe432b8c8dcb82055c4cfbb1d31e25c9ce874557618305  IO-Tty-1.14.tar.gz"