[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Fri Apr 12 17:01:49 UTC 2019


    Date: Friday, April 12, 2019 @ 17:01:48
  Author: felixonmars
Revision: 451308

addpkg: perl-inline-cpp 0.79-1

Added:
  perl-inline-cpp/
  perl-inline-cpp/repos/
  perl-inline-cpp/trunk/
  perl-inline-cpp/trunk/PKGBUILD

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

Added: perl-inline-cpp/trunk/PKGBUILD
===================================================================
--- perl-inline-cpp/trunk/PKGBUILD	                        (rev 0)
+++ perl-inline-cpp/trunk/PKGBUILD	2019-04-12 17:01:48 UTC (rev 451308)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at 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
+}


More information about the arch-commits mailing list