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

Felix Yan felixonmars at archlinux.org
Mon May 24 10:42:42 UTC 2021


    Date: Monday, May 24, 2021 @ 10:42:42
  Author: felixonmars
Revision: 416184

archrelease: copy trunk to staging-any

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

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

Copied: perl-extutils-libbuilder/repos/staging-any/PKGBUILD (from rev 416183, perl-extutils-libbuilder/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-24 10:42:42 UTC (rev 416184)
@@ -0,0 +1,34 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname='perl-extutils-libbuilder'
+_dist="ExtUtils-LibBuilder"
+pkgver=0.08
+pkgrel=8
+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