[arch-commits] Commit in perl-extutils-libbuilder/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 11:33:04 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:33:04
  Author: felixonmars
Revision: 446901

archrelease: copy trunk to staging-any

Added:
  perl-extutils-libbuilder/repos/staging-any/
  perl-extutils-libbuilder/repos/staging-any/PKGBUILD
    (from rev 446900, perl-extutils-libbuilder/trunk/PKGBUILD)

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

Copied: perl-extutils-libbuilder/repos/staging-any/PKGBUILD (from rev 446900, perl-extutils-libbuilder/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2022-05-29 11:33:04 UTC (rev 446901)
@@ -0,0 +1,34 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname='perl-extutils-libbuilder'
+_dist="ExtUtils-LibBuilder"
+pkgver=0.08
+pkgrel=9
+pkgdesc="A tools to build C libraries"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=('perl-module-build')
+url="https://metacpan.org/release/${_dist}"
+source=("https://search.cpan.org/CPAN/authors/id/A/AM/AMBS/${_dist}-${pkgver}.tar.gz")
+sha1sums=('c15d93062c43bc83e1b3b0d52869bb0aa6919f2b')
+
+build() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    perl Build.PL
+    ./Build
+}
+
+check() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    ./Build test
+}
+
+package() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    ./Build install installdirs=vendor destdir="$pkgdir"
+}



More information about the arch-commits mailing list