[arch-commits] Commit in perl-ffi-checklib/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Apr 11 05:20:17 UTC 2019


    Date: Thursday, April 11, 2019 @ 05:20:16
  Author: felixonmars
Revision: 450939

archrelease: copy trunk to community-any

Added:
  perl-ffi-checklib/repos/community-any/
  perl-ffi-checklib/repos/community-any/PKGBUILD
    (from rev 450938, perl-ffi-checklib/trunk/PKGBUILD)

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

Copied: perl-ffi-checklib/repos/community-any/PKGBUILD (from rev 450938, perl-ffi-checklib/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-04-11 05:20:16 UTC (rev 450939)
@@ -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