Date: Friday, April 12, 2019 @ 16:43:45
  Author: felixonmars
Revision: 451302

addpkg: perl-inline-c 0.78-1

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

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

Added: perl-inline-c/trunk/PKGBUILD
===================================================================
--- perl-inline-c/trunk/PKGBUILD                                (rev 0)
+++ perl-inline-c/trunk/PKGBUILD        2019-04-12 16:43:45 UTC (rev 451302)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgname=perl-inline-c
+pkgver=0.78
+pkgrel=1
+pkgdesc="C Language Support for Inline"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Inline-C";
+depends=('perl-inline' 'perl-parse-recdescent' 'perl-pegex')
+makedepends=('perl-file-copy-recursive' 'perl-test-warn')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/T/TI/TINITA/Inline-C-$pkgver.tar.gz";)
+sha512sums=('368e68dfb9f1700534d9b391090e340172e3adde5fe15576f883e9341047fec35cea8660751883b27e128ad91dda363d513547368097a989457d669bbbdc8ce4')
+
+build() {
+  cd Inline-C-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Inline-C-$pkgver
+  make test
+}
+
+package() {
+  cd Inline-C-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Reply via email to