blob: 72e487ba6318967af47112121dd0e669fd513b67 (
plain) (
tree)
|
|
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-inline-c
_pkgreal=Inline-C
_author=ETJ
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.82
pkgrel=0
pkgdesc="C language support for Inline"
url="https://metacpan.org/pod/Inline::C"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl perl-inline perl-pegex perl-parse-recdescent"
checkdepends="perl-test-warn perl-yaml-libyaml perl-file-copy-recursive"
makedepends="perl-dev perl-file-sharedir-install"
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="1d1e91a63df12b4f3dc631fd1b66f9bd2e006b300002d9aa184ab571a128953722127400a39055d07ee630709f2a7c96dd35ad6e0860959cbb5a6fce3134b357 Inline-C-0.82.tar.gz"
|