2019-08-31 12:40:49 +02:00
|
|
|
# Description: Cycle through a list of values via a scalar
|
|
|
|
# URL: https://metacpan.org/release/Tie-Cycle
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
name=p5-tie-cycle
|
2021-01-14 10:53:09 +01:00
|
|
|
version=1.226
|
2019-08-31 12:40:49 +02:00
|
|
|
release=1
|
|
|
|
source=(https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Tie-Cycle-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd Tie-Cycle-$version
|
|
|
|
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
|
|
|
|
make install INSTALLDIRS=vendor DESTDIR=$PKG
|
|
|
|
find $PKG -name .packlist -o \
|
|
|
|
-name perllocal.pod -o \
|
|
|
|
-name README -o \
|
|
|
|
-name '*.bs' | xargs rm
|
|
|
|
}
|