Date: Friday, April 12, 2019 @ 16:51:40 Author: felixonmars Revision: 451305
archrelease: copy trunk to community-any Added: perl-extutils-cppguess/repos/community-any/ perl-extutils-cppguess/repos/community-any/PKGBUILD (from rev 451304, perl-extutils-cppguess/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: perl-extutils-cppguess/repos/community-any/PKGBUILD (from rev 451304, perl-extutils-cppguess/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2019-04-12 16:51:40 UTC (rev 451305) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-extutils-cppguess +pkgver=0.19 +pkgrel=1 +pkgdesc="Guess C++ compiler and flags" +arch=('any') +license=('PerlArtistic') +url="https://metacpan.org/release/ExtUtils-CppGuess" +depends=('perl-capture-tiny') +makedepends=('perl-module-build') +options=('!emptydirs') +source=("https://cpan.metacpan.org/authors/id/E/ET/ETJ/ExtUtils-CppGuess-$pkgver.tar.gz") +sha512sums=('2337fa2f4a982bd5323a94277f00ca6bdba3c901df5472cb8d16d8ac44b143dc63b05e38c5554cee9a3ba6d12eda8a2c6433ec08d3d857dbc339c6568d68be62') + +build() { + cd ExtUtils-CppGuess-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd ExtUtils-CppGuess-$pkgver + make test +} + +package() { + cd ExtUtils-CppGuess-$pkgver + make DESTDIR="$pkgdir" install +}