summaryrefslogblamecommitdiff
path: root/user/perl-extutils-parsexs/APKBUILD
blob: c29e5e2ca16dfce908117cc3a57409decca064a5 (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=LEONT
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=3.51
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="f8e3a064577b62ee17c4b55349c2044da7e4075cd6da20f7b2c6b92a8522209b594a0cecd0853744f15c4fc71cb9bc3d23f05511f84d2b15da05897a86d9f660  ExtUtils-ParseXS-3.51.tar.gz"