summaryrefslogblamecommitdiff
path: root/user/perl-extutils-parsexs/APKBUILD
blob: 8683932c124751ae851d6f0aebabbb5a77f91071 (plain) (tree)
1
2
3
4
5
6
7
8

                                                           

                             
                

                               
           


                                                   
             
                                       



















                                                                                        
                                                                                                                                                                           
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-extutils-parsexs
_pkgreal=ExtUtils-ParseXS
_author=XSAWYERX
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=3.44
pkgrel=0
pkgdesc="Perl module for converting XS code into C"
url="https://metacpan.org/pod/ExtUtils::ParseXS"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.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/ExtUtils-ParseXS-$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="0a3c155bb5718814c97784c83b4a108fdd72153605f733fafb1a61c1e626f2454584f3baefc5d3a490280226e5a240e4cb95453bae3f609511d96750fcfc7389  ExtUtils-ParseXS-3.44.tar.gz"