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

Felix Yan felixonmars at archlinux.org
Sun Feb 9 09:01:16 UTC 2020


    Date: Sunday, February 9, 2020 @ 09:01:15
  Author: felixonmars
Revision: 375028

archrelease: copy trunk to testing-any

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

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

Copied: perl-alien-build/repos/testing-any/PKGBUILD (from rev 375027, perl-alien-build/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2020-02-09 09:01:15 UTC (rev 375028)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-alien-build
+pkgver=2.00
+pkgrel=1
+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=('f8045065ba27aaef778cb1dc97ea289162a07cda37130c1ba2657e6e66411ad0bebadbc42febeb80ab14b91da4c2b9e9bba6721b035d39711820807c04ccc462')
+
+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