[arch-commits] Commit in perl-alien-build/repos (staging-any staging-any/PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sun May 29 11:26:17 UTC 2022
Date: Sunday, May 29, 2022 @ 11:26:14
Author: foutrelis
Revision: 446877
archrelease: copy trunk to staging-any
Added:
perl-alien-build/repos/staging-any/
perl-alien-build/repos/staging-any/PKGBUILD
(from rev 446876, perl-alien-build/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: perl-alien-build/repos/staging-any/PKGBUILD (from rev 446876, perl-alien-build/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2022-05-29 11:26:14 UTC (rev 446877)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-alien-build
+pkgver=2.48
+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=('36311680b79cfac3abd04e22c69f7a7f5083b069af3afa34dcecbc7e6beea6b20cb643b1cbfe98f7a6f7e0b83d49915061c84b2f728c94d07e8be80e44317864')
+
+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