mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/perl-astro-satpass: new aport
https://metacpan.org/release/Astro-satpass/ Classes and app to compute satellite visibility
This commit is contained in:
parent
1abde71a71
commit
130d487bcd
45
testing/perl-astro-satpass/APKBUILD
Normal file
45
testing/perl-astro-satpass/APKBUILD
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# Automatically generated by apkbuild-cpan, template 4
|
||||||
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
|
maintainer="Celeste <cielesti@protonmail.com>"
|
||||||
|
pkgname=perl-astro-satpass
|
||||||
|
pkgver=0.133
|
||||||
|
pkgrel=0
|
||||||
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||||
|
_pkgreal=Astro-satpass
|
||||||
|
pkgdesc="Classes and app to compute satellite visibility"
|
||||||
|
url="https://metacpan.org/release/Astro-satpass/"
|
||||||
|
arch="noarch"
|
||||||
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||||
|
depends="perl perl-clone"
|
||||||
|
makedepends="perl-module-build"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
source="https://cpan.metacpan.org/authors/id/W/WY/WYANT/Astro-satpass-$pkgver.tar.gz"
|
||||||
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
|
perl Build.PL \
|
||||||
|
--installdirs=vendor \
|
||||||
|
--create_packlist=0 \
|
||||||
|
-y
|
||||||
|
./Build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
./Build test
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
./Build install --destdir="$pkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
doc() {
|
||||||
|
local file; find "$pkgdir" -name "*.pod" | while read -r file; do
|
||||||
|
amove "${file#"$pkgdir"}"
|
||||||
|
done
|
||||||
|
default_doc
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
3480176f3e18a0569fe21675ae7e0fbd416cd19c692dc0c76645520657f8848dfe68e0a418beded909142819cc8d74f86c21e789a22c3622239961a2b2dc1338 Astro-satpass-0.133.tar.gz
|
||||||
|
"
|
Loading…
Reference in New Issue
Block a user