summaryrefslogtreecommitdiffstats
path: root/arch/tde-deps/perl-config-autoconf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-deps/perl-config-autoconf/PKGBUILD')
-rw-r--r--arch/tde-deps/perl-config-autoconf/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/arch/tde-deps/perl-config-autoconf/PKGBUILD b/arch/tde-deps/perl-config-autoconf/PKGBUILD
new file mode 100644
index 000000000..f3239c047
--- /dev/null
+++ b/arch/tde-deps/perl-config-autoconf/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Rémy Oudompheng <remy@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.320
+pkgrel=1
+pkgdesc="A module to implement some of AutoConf macros in pure perl."
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl-capture-tiny' 'perl-file-slurper')
+makedepends=('bison' 'flex' 'gawk' 'grep' 'pkg-config' 'sed')
+url='https://metacpan.org/release/Config-AutoConf'
+source=("https://search.cpan.org/CPAN/authors/id/A/AM/AMBS/${_dist}-${pkgver}.tar.gz")
+md5sums=('71664b2864232e265179ac29298e0916')
+sha256sums=('bb57a958ef49d3f7162276dae14a7bd5af43fd1d8513231af35d665459454023')
+
+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"
+}