[arch-commits] Commit in perl-alien-build/repos (staging-any staging-any/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 10:38:07 UTC 2021
Date: Monday, May 24, 2021 @ 10:38:07
Author: foutrelis
Revision: 416166
archrelease: copy trunk to staging-any
Added:
perl-alien-build/repos/staging-any/
perl-alien-build/repos/staging-any/PKGBUILD
(from rev 416165, perl-alien-build/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: perl-alien-build/repos/staging-any/PKGBUILD (from rev 416165, perl-alien-build/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2021-05-24 10:38:07 UTC (rev 416166)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-alien-build
+pkgver=2.40
+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=('56854b06d65d690414ed31ebb2c8858d2cc05df12cd854c8328fcaf3c8c1f32f5ad2200898312306bd24c6574c21009c374dc4a9eebf942f05c12631a308eb2f')
+
+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