aports/testing/perl-algorithm-evolutionary/APKBUILD
Celeste 40ea6c48d7 */*: add maintainer variable for aports i maintain
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment

since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
2024-10-16 16:20:45 +00:00

43 lines
1.3 KiB
Text

# Automatically generated by apkbuild-cpan, template 4
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=perl-algorithm-evolutionary
pkgver=0.82.1
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Algorithm-Evolutionary
pkgdesc="Perl module for performing paradigm-free evolutionary algorithms"
url="https://metacpan.org/release/Algorithm-Evolutionary/"
arch="noarch"
license="GPL-2.0-only"
depends="
perl perl-algorithm-permute perl-bit-vector perl-clone perl-gd
perl-math-random perl-object-array perl-sort-key
perl-statistics-basic perl-string-random perl-tree-dag_node
perl-xml-parser perl-xml-parser-style-easytree perl-yaml
"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/J/JM/JMERELO/Algorithm-Evolutionary-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
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
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
9b66853f51da2078f0965d20e410cab816a8651922ab6f8257c345f1e111acb7e0d3438e8437e3628567d712e3211fced771836c0a6082844b565cd74b3de5c0 Algorithm-Evolutionary-0.82.1.tar.gz
"