summaryrefslogblamecommitdiff
path: root/user/perl-extutils-cppguess/APKBUILD
blob: e2fdf5e55418a2aa50b3bcd9c42acb031bff12cb (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-cppguess
_pkgreal=ExtUtils-CppGuess
_author=ETJ
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.27
pkgrel=0
pkgdesc="Perl module for checking C++ compiler and flags"
url="https://metacpan.org/pod/ExtUtils::CppGuess"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-capture-tiny perl-extutils-parsexs"
makedepends="perl-dev perl-module-build perl-extutils-cbuilder"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/ExtUtils-CppGuess-$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="289e38f3033b3072ff40dffdea8cb60bc9f91e426ff927de2e8499724cecb03f76c4740b2f868d6c55bf019c9e6eb1a5de20111591c7292e60765f65a249e60c  ExtUtils-CppGuess-0.27.tar.gz"