[arch-commits] Commit in perl-alien-build/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 15:09:15 UTC 2020


    Date: Sunday, June 21, 2020 @ 15:09:14
  Author: felixonmars
Revision: 389834

archrelease: copy trunk to staging-any

Added:
  perl-alien-build/repos/staging-any/
  perl-alien-build/repos/staging-any/PKGBUILD
    (from rev 389833, perl-alien-build/trunk/PKGBUILD)

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

Copied: perl-alien-build/repos/staging-any/PKGBUILD (from rev 389833, perl-alien-build/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-06-21 15:09:14 UTC (rev 389834)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-alien-build
+pkgver=2.26
+pkgrel=2
+pkgdesc="Build external dependencies for use in CPAN"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Alien-Build"
+depends=('perl-capture-tiny' 'perl-ffi-checklib' 'perl-file-chdir' 'perl-file-which'
+         'perl-path-tiny')
+makedepends=('perl-test2-suite')
+checkdepends=('perl-alien-base-modulebuild' 'perl-alien-cmake3' 'perl-env-shellwords'
+              'perl-pkgconfig' 'perl-pkgconfig-libpkgconf' 'perl-readonly' 'perl-sort-versions')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Alien-Build-$pkgver.tar.gz")
+sha512sums=('d5e407e5865dcf6771016cd9b182c9a6f982e6dd2c56ea8ea20b32603dc824f99b1f5ee8d460fa2e412aefbf82f09e338b513ab57ebcfc0fa6e200d103060f48')
+
+build() {
+  cd Alien-Build-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Alien-Build-$pkgver
+  make test
+}
+
+package() {
+  cd Alien-Build-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list