mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/perl-carp-clan: take over maintainership
This commit is contained in:
parent
26fd1a01c3
commit
b99c21b5e0
@ -1,36 +1,38 @@
|
|||||||
|
# Automatically generated by apkbuild-cpan, template 4
|
||||||
# Contributor: Mika Havela <mika.havela@gmail.com>
|
# Contributor: Mika Havela <mika.havela@gmail.com>
|
||||||
# Maintainer: Mika Havela <mika.havela@gmail.com>
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
pkgname=perl-carp-clan
|
pkgname=perl-carp-clan
|
||||||
_pkgreal=Carp-Clan
|
|
||||||
pkgver=6.08
|
pkgver=6.08
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="Perl - Report errors from perspective of caller of a 'clan' of modules"
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||||
url="https://metacpan.org/pod/Carp::Clan"
|
_pkgreal=Carp-Clan
|
||||||
|
pkgdesc="Report errors from perspective of caller of a 'clan' of modules"
|
||||||
|
url="https://metacpan.org/release/Carp-Clan/"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||||
depends="perl perl-test-exception"
|
depends="perl"
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Carp-Clan-$pkgver.tar.gz"
|
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Carp-Clan-$pkgver.tar.gz"
|
||||||
|
|
||||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
|
||||||
prepare() {
|
|
||||||
default_prepare
|
|
||||||
|
|
||||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
||||||
|
INSTALLDIRS=vendor \
|
||||||
|
NO_PACKLIST=1 \
|
||||||
|
NO_PERLLOCAL=1
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
make test
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="bc7f74d75e1eae0f528d530b47f1841493aae7eecdeeb58f85f5d8ef7a5b4d92c479b45468d0e7175f228056295d3d7159a7b404fecd542cf04c75ddc3a9886f Carp-Clan-6.08.tar.gz"
|
sha512sums="
|
||||||
|
bc7f74d75e1eae0f528d530b47f1841493aae7eecdeeb58f85f5d8ef7a5b4d92c479b45468d0e7175f228056295d3d7159a7b404fecd542cf04c75ddc3a9886f Carp-Clan-6.08.tar.gz
|
||||||
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user