[arch-commits] Commit in (4 files)

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


    Date: Friday, April 12, 2019 @ 17:49:00
  Author: felixonmars
Revision: 350635

community2extra: Moving perl-ffi-checklib from community to extra

Added:
  perl-ffi-checklib/
  perl-ffi-checklib/repos/
  perl-ffi-checklib/trunk/
  perl-ffi-checklib/trunk/PKGBUILD

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

Added: perl-ffi-checklib/trunk/PKGBUILD
===================================================================
--- perl-ffi-checklib/trunk/PKGBUILD	                        (rev 0)
+++ perl-ffi-checklib/trunk/PKGBUILD	2019-04-12 17:49:00 UTC (rev 350635)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-ffi-checklib
+pkgver=0.23
+pkgrel=1
+pkgdesc="Check that a library is available for FFI"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/FFI-CheckLib"
+depends=('perl')
+checkdepends=('perl-test-exit' 'perl-test2-suite')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/FFI-CheckLib-$pkgver.tar.gz")
+sha512sums=('6b7342c8b68a4ca1a204ce36224bc065bc5905390ca7bb9071ba7b8bd4f33b7a26b6842c6aea833b3315d3e1369c42898df0aedd2880509d1fefe813a9a6046a')
+
+build() {
+  cd FFI-CheckLib-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd FFI-CheckLib-$pkgver
+  make test
+}
+
+package() {
+  cd FFI-CheckLib-$pkgver
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list