summaryrefslogblamecommitdiff
path: root/user/perl-devel-hide/APKBUILD
blob: be26079fd970a9c6d44cbe72d500f841f65421b4 (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-devel-hide
_pkgreal=Devel-Hide
_author=FERREIRA
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.0010
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="50bd9daf86239963e501936f09c0ee4b19be65deef22774910813a2502a2f60a6efcf7fbd586f2ea09c60ca1b77aa418a08043151f5a0d9915b7d881d66013c9  Devel-Hide-0.0010.tar.gz"