summaryrefslogblamecommitdiff
path: root/user/perl-extutils-depends/APKBUILD
blob: e88fa2f7eb6ab094572749b08fbb32beb7fc0b71 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                                   


                               
             
                                                                 
                                                   


                                       
                          
                                                                                        
         



                                                                 


                 


                                                                           
                                                                                                                                                                             
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-extutils-depends
_pkgreal=ExtUtils-Depends
_author=XAOC
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.8000
pkgrel=0
pkgdesc="Easily build XS extensions that depend on XS extensions"
url="https://metacpan.org/release/ExtUtils-Depends"
arch="noarch"
license="Artistic-1.0-Perl AND GPL-2.0"
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="c2823e48fc6ae42677da958d8cbeb561a29839cc387224ecd545e1d81979cd963377210f9c5a9bf314e2fc6e0907190f0b867ed59e91f8eab6df91f8d0c91e5d  ExtUtils-Depends-0.8000.tar.gz"