[arch-commits] Commit in perl-config-autoconf/repos (staging-any staging-any/PKGBUILD)

Florian Pritz bluewind at archlinux.org
Wed Aug 1 09:20:28 UTC 2018


    Date: Wednesday, August 1, 2018 @ 09:20:28
  Author: bluewind
Revision: 330049

archrelease: copy trunk to staging-any

Added:
  perl-config-autoconf/repos/staging-any/
  perl-config-autoconf/repos/staging-any/PKGBUILD
    (from rev 330048, perl-config-autoconf/trunk/PKGBUILD)

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

Copied: perl-config-autoconf/repos/staging-any/PKGBUILD (from rev 330048, perl-config-autoconf/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 09:20:28 UTC (rev 330049)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+# Generator  : CPANPLUS::Dist::Arch 1.32
+
+pkgname='perl-config-autoconf'
+_dist="Config-AutoConf"
+pkgver=0.315
+pkgrel=2
+pkgdesc="A module to implement some of AutoConf macros in pure perl."
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-capture-tiny')
+makedepends=('bison' 'flex' 'gawk' 'grep' 'pkg-config' 'sed')
+url='https://metacpan.org/release/Config-AutoConf'
+source=("http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/${_dist}-${pkgver}.tar.gz")
+md5sums=('710ca59bc75974b9f4dbc3f1618f5fe1')
+sha256sums=('4b3cd1e1a698ba9e5660c047f0a4fe192723d4bc9f768fdea511c2fc73ea6940')
+
+build() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+    perl Makefile.PL
+    make
+}
+
+check() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1
+    make test
+}
+
+package() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}



More information about the arch-commits mailing list