[arch-commits] Commit in perl-ffi-checklib/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon May 24 10:33:11 UTC 2021


    Date: Monday, May 24, 2021 @ 10:33:11
  Author: felixonmars
Revision: 416149

archrelease: copy trunk to staging-any

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

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

Copied: perl-ffi-checklib/repos/staging-any/PKGBUILD (from rev 416148, perl-ffi-checklib/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-24 10:33:11 UTC (rev 416149)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-ffi-checklib
+pkgver=0.28
+pkgrel=2
+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=('9ac42e7153902cd178d9ee7d3db7edb96deb30c8b53cdd6c14706cde200598ecd98031c8e17394fcd1fb2c770a0ec776131e2ff93491d6b307a6e595fd788d5a')
+
+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