Date: Friday, April 12, 2019 @ 17:02:09 Author: felixonmars Revision: 451309
archrelease: copy trunk to community-any Added: perl-inline-cpp/repos/community-any/ perl-inline-cpp/repos/community-any/PKGBUILD (from rev 451308, perl-inline-cpp/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: perl-inline-cpp/repos/community-any/PKGBUILD (from rev 451308, perl-inline-cpp/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2019-04-12 17:02:09 UTC (rev 451309) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-inline-cpp +pkgver=0.79 +pkgrel=1 +pkgdesc="Write Perl subroutines and classes in C++" +arch=('any') +license=('PerlArtistic') +url="https://metacpan.org/release/Inline-CPP" +depends=('perl-inline' 'perl-inline-c' 'perl-parse-recdescent') +makedepends=('perl-extutils-cppguess') +checkdepends=('perl-inline-filters') +options=('!emptydirs') +source=("https://cpan.metacpan.org/authors/id/D/DA/DAVIDO/Inline-CPP-$pkgver.tar.gz") +sha512sums=('7f287cbfbb067b663ee1dad3e31f052f105a9a6de9f641cd2986c7c941e91ca436d92a9636edf9cce15522575d8333b0b50c8a11ea5b4bce5e014e2ec0b8be90') + +build() { + cd Inline-CPP-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Inline-CPP-$pkgver + make test +} + +package() { + cd Inline-CPP-$pkgver + make DESTDIR="$pkgdir" install +}