mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/perl-astro-pal: new aport
https://metacpan.org/release/Astro-PAL/ Interface to Starlink PAL positional astronomy library
This commit is contained in:
parent
74f32829a6
commit
95168d5ea0
37
testing/perl-astro-pal/APKBUILD
Normal file
37
testing/perl-astro-pal/APKBUILD
Normal 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
|
||||||
|
"
|
Loading…
Reference in New Issue
Block a user