blob: 7c6df08fa4d09b08fb96c7e641e131b1d1e0aea6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname='perl-starlink-ast'
pkgver='1.05'
pkgrel=10
pkgdesc='Interface to the Starlink AST library'
arch=('i686' 'pentium4' 'x86_64')
_pinned_dependencies=(
'glibc>=2.31'
)
depends=(
'perl>=5.34'
'perl<5.35'
"${_pinned_dependencies[@]}"
)
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
provides=(
'perl-starlink-ast-axis=1.00'
'perl-starlink-ast-box=1.00'
'perl-starlink-ast-channel=1.00'
'perl-starlink-ast-circle=1.00'
'perl-starlink-ast-cmpframe=1.00'
'perl-starlink-ast-cmpmap=1.00'
'perl-starlink-ast-cmpregion=1.00'
'perl-starlink-ast-dsbspecframe=1.00'
'perl-starlink-ast-dssmap=1.00'
'perl-starlink-ast-ellipse=1.00'
'perl-starlink-ast-fitschan=1.00'
'perl-starlink-ast-fluxframe=1.00'
'perl-starlink-ast-frame=1.00'
'perl-starlink-ast-frameset=1.00'
'perl-starlink-ast-grismmap=1.00'
'perl-starlink-ast-interval=1.00'
'perl-starlink-ast-intramap=1.00'
'perl-starlink-ast-keymap=1.00'
'perl-starlink-ast-keymap-tie=1.00'
'perl-starlink-ast-lutmap=1.00'
'perl-starlink-ast-mapping=1.00'
'perl-starlink-ast-mathmap=1.00'
'perl-starlink-ast-matrixmap=1.00'
'perl-starlink-ast-nullregion=1.00'
'perl-starlink-ast-pcdmap=1.00'
'perl-starlink-ast-permmap=1.00'
'perl-starlink-ast-pgplot=2.00'
'perl-starlink-ast-plot=1.00'
'perl-starlink-ast-plplot=2.00'
'perl-starlink-ast-polygon=1.00'
'perl-starlink-ast-polymap=1.00'
'perl-starlink-ast-prism=1.00'
'perl-starlink-ast-ratemap=1.00'
'perl-starlink-ast-region=1.00'
'perl-starlink-ast-shiftmap=1.00'
'perl-starlink-ast-skyaxis=1.00'
'perl-starlink-ast-skyframe=1.00'
'perl-starlink-ast-slamap=1.00'
'perl-starlink-ast-specfluxframe=1.00'
'perl-starlink-ast-specframe=1.00'
'perl-starlink-ast-specmap=1.00'
'perl-starlink-ast-sphmap=1.00'
'perl-starlink-ast-stcschan=1.00'
'perl-starlink-ast-timeframe=1.00'
'perl-starlink-ast-timemap=1.00'
'perl-starlink-ast-tk=2.00'
'perl-starlink-ast-unitmap=1.00'
'perl-starlink-ast-wcsmap=1.00'
'perl-starlink-ast-winmap=1.00'
'perl-starlink-ast-xmlchan=1.00'
'perl-starlink-ast-zoommap=1.00')
makedepends=(
'perl>=5.8.0'
'perl-extutils-cbuilder'
'perl-module-build>=0.3604'
'perl-test-deep'
'perl-test-number-delta'
'perl-test-simple')
optdepends=(
'perl-astro-fits-cfitsio'
'perl-astro-fits-header'
'perl-tk'
'perl-tk-zinc')
url='https://metacpan.org/release/Starlink-AST'
_distdir="Starlink-AST-${pkgver}"
source=("https://cpan.metacpan.org/authors/id/T/TJ/TJENNESS/${_distdir}.tar.gz")
sha512sums=('9f1353c139cbecad4b468dbac73d27af53784ed0979fcd6dcb57277e1eae0d1f0d32d18dc4cf8d072b86e0534759c979e386ade809f75b0866a6afe953f00b31')
build() {
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "$srcdir/$_distdir"
perl Build.PL
perl Build
}
check() {
cd "$srcdir/$_distdir"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
perl Build test
)
}
package() {
cd "$srcdir/$_distdir"
perl Build install
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
# Local Variables:
# mode: shell-script
# sh-basic-offset: 2
# End:
# vim:set ts=2 sw=2 et:
|