Skip to content
Snippets Groups Projects
Unverified Commit 40f35634 authored by Caleb Maclennan's avatar Caleb Maclennan
Browse files

Adopt and overhaul

parent 788e458c
No related branches found
No related tags found
No related merge requests found
pkgbase = perl-b-debug-cpan
pkgdesc = Perl/CPAN Module B::Debug: Walk Perl syntax tree, printing debug info about ops
pkgver = 1.26
pkgrel = 1
url = https://metacpan.org/release/B-Debug
arch = any
license = PerlArtistic
license = GPL
depends = perl
options = !emptydirs
source = http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/B-Debug-1.26.tar.gz
md5sums = 260ec0e2c2b18af1d42911bfaf6b7477
sha512sums = d15a1b8283a9c9582cebf9d5fdc38289160c601603498eb79d120154c8643a81e256c4afe2ee938c9db04989af0544bdf312d2d0fe5b898b1dcee756d084db6e
pkgname = perl-b-debug-cpan
# Maintainer : int <int [ate] arcor [dot] de>
# Generator : CPANPLUS::Dist::Arch 1.32
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: int <int [ate] arcor [dot] de>
pkgname='perl-b-debug-cpan'
pkgver='1.26'
pkgrel='1'
pkgdesc="Perl/CPAN Module B::Debug: Walk Perl syntax tree, printing debug info about ops"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
makedepends=()
url='https://metacpan.org/release/B-Debug'
source=("http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/B-Debug-$pkgver.tar.gz")
md5sums=('260ec0e2c2b18af1d42911bfaf6b7477')
sha512sums=('d15a1b8283a9c9582cebf9d5fdc38289160c601603498eb79d120154c8643a81e256c4afe2ee938c9db04989af0544bdf312d2d0fe5b898b1dcee756d084db6e')
_distdir="B-Debug-$pkgver"
pkgname=perl-b-debug-cpan
_pkgname=B-Debug
pkgver=1.26
pkgrel=2
pkgdesc='Perl/CPAN Module B::Debug: Walk Perl syntax tree, printing debug info about ops'
arch=(any)
license=(PerlArtistic GPL)
options=(!emptydirs)
depends=(perl)
url="https://metacpan.org/release/$_pkgname"
_archive="$_pkgname-$pkgver"
source=("http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/$_archive.tar.gz")
sha256sums=('8d6d3f5134f0ddd8dde68e6581f5b30b73b7db40fd28d076e4f6e5386f570d3a')
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "$srcdir/$_distdir"
/usr/bin/perl Makefile.PL
make
)
cd "$_archive"
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
/usr/bin/perl Makefile.PL
make
}
check() {
cd "$srcdir/$_distdir"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
)
cd "$_archive"
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1
make test
}
package() {
cd "$srcdir/$_distdir"
make install
find "$pkgdir" "(" -name .packlist -o -name perllocal.pod ")" -delete
cd "$_archive"
unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
}
# Local Variables:
# mode: shell-script
# sh-basic-offset: 2
# End:
# vim:set ts=2 sw=2 et:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment