You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.3 KiB
40 lines
1.3 KiB
# 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"
|
|
}
|