mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/perl-astro-telescope: new aport
https://metacpan.org/release/Astro-Telescope/ Class for obtaining telescope information
This commit is contained in:
parent
95168d5ea0
commit
fb6db355c6
37
testing/perl-astro-telescope/APKBUILD
Normal file
37
testing/perl-astro-telescope/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-telescope
|
||||
pkgver=0.71
|
||||
pkgrel=0
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Astro-Telescope
|
||||
pkgdesc="Class for obtaining telescope information"
|
||||
url="https://metacpan.org/release/Astro-Telescope/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl perl-astro-pal"
|
||||
makedepends="perl-module-build"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/T/TJ/TJENNESS/Astro-Telescope-$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="
|
||||
a2a6b5da903573a53fd344c33ab1eac49beafa0b6af05f3ef2e07bac25fee5fb0ea685be2448ee461280ee7a0e74251624f6383267e153f1445e6e0324d0f1b9 Astro-Telescope-0.71.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user