testing/perl-astro-pal: new aport

https://metacpan.org/release/Astro-PAL/
Interface to Starlink PAL positional astronomy library
This commit is contained in:
Celeste 2025-07-21 07:32:11 +00:00
parent 74f32829a6
commit 95168d5ea0

View File

@ -0,0 +1,37 @@
# Automatically generated by apkbuild-cpan, template 4
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=perl-astro-pal
pkgver=1.09
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Astro-PAL
pkgdesc="Interface to Starlink PAL positional astronomy library"
url="https://metacpan.org/release/Astro-PAL/"
arch="all"
license="GPL-3.0-or-later"
depends="perl"
makedepends="perl-dev perl-module-build perl-test-number-delta"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/G/GS/GSB/Astro-PAL-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL \
--installdirs=vendor \
--create_packlist=0
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
}
sha512sums="
e90dbcb8ee3075a5facdc267401d50159c61d2f15f703cc3e2fcab2b760d83bb543fca818a4a63ffade480f0ae960004959312fac129687784dc6fff4e43b1d2 Astro-PAL-1.09.tar.gz
"