Skip to content
Snippets Groups Projects
Commit 1b8ab165 authored by Celeste's avatar Celeste Committed by Francesco Colista
Browse files

community/perl-tie-cycle: upgrade to 1.228

parent 12ec4f89
No related branches found
No related tags found
1 merge request!60193community/perl-tie-cycle: upgrade to 1.228
Pipeline #211731 skipped
# Automatically generated by apkbuild-cpan, template 1
# Automatically generated by apkbuild-cpan, template 4
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-tie-cycle
pkgver=1.228
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Tie-Cycle
pkgver=1.227
pkgrel=1
pkgdesc="Cycle through a list of values via a scalar."
pkgdesc="Cycle through a list of values via a scalar"
url="https://metacpan.org/release/Tie-Cycle/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
license="Artistic-2.0"
depends="perl"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/$_pkgreal-$pkgver.tar.gz"
source="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Tie-Cycle-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
check() {
make test
}
prepare() {
default_prepare
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
INSTALLDIRS=vendor \
NO_PACKLIST=1 \
NO_PERLLOCAL=1
make
}
build() {
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
c0896328391472a09a569f721298ee114f2e63920080056662469b324ee18c386877d1634e0237fd40bf30c605d25261b868b76524b2f07bab3a61ebce029e24 Tie-Cycle-1.227.tar.gz
6ff75e2b6fe13860127dc75f127fd840ed5f2ee95f5173de494b0f6fd42862b9b2b33d05930bcdaa14e3647ad8c0e87e6f488108a01d301c01ef0df384f5ec31 Tie-Cycle-1.228.tar.gz
"
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