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

Felix Yan felixonmars at archlinux.org
Sun Jun 21 14:56:38 UTC 2020


    Date: Sunday, June 21, 2020 @ 14:56:37
  Author: felixonmars
Revision: 389819

archrelease: copy trunk to staging-any

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

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

Copied: perl-ffi-checklib/repos/staging-any/PKGBUILD (from rev 389817, perl-ffi-checklib/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-06-21 14:56:37 UTC (rev 389819)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-ffi-checklib
+pkgver=0.27
+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=('0a6cf93fc0461e6b21533007b2d9956f14bf7acf6bffdbe5274b43f8c3d9defabfb60854e31b95cfe430d2cecdcddeafdcc9514daca6a4807697cf10c280a6d7')
+
+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