[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Fri Apr 12 16:51:27 UTC 2019


    Date: Friday, April 12, 2019 @ 16:51:26
  Author: felixonmars
Revision: 451304

addpkg: perl-extutils-cppguess 0.19-1

Added:
  perl-extutils-cppguess/
  perl-extutils-cppguess/repos/
  perl-extutils-cppguess/trunk/
  perl-extutils-cppguess/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Added: perl-extutils-cppguess/trunk/PKGBUILD
===================================================================
--- perl-extutils-cppguess/trunk/PKGBUILD	                        (rev 0)
+++ perl-extutils-cppguess/trunk/PKGBUILD	2019-04-12 16:51:26 UTC (rev 451304)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at 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
+}


More information about the arch-commits mailing list