summaryrefslogblamecommitdiff
path: root/user/perl-devel-hide/APKBUILD
blob: 55a62f12a736c3c248bb8b7e1aae976e6defd71e (plain) (tree)
1
2
3
4
5
6
7
8
                                                         

                                                                   
                   
                 

                               
             





                                                                           
                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                       
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-devel-hide
_pkgreal=Devel-Hide
_author=DCANTRELL
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.0011
pkgrel=0
pkgdesc="Perl module for forcing the unavailability of modules for testing"
url="https://metacpan.org/pod/Devel::Hide"
arch="noarch"
license="Artistic-1.0-Perl"
depends="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="8034ced8a126b88f3724780a40adbc13e662c794901ac103061416627b328f598e742e1353e15d6e89f648d9ac6e5804e9b41ced79bd7c600386fa874dc17042  Devel-Hide-0.0011.tar.gz"