perl-open-api
LOW
maintainer Ordoban
0 votes
scanned 2026-11-02 10:02:25.018626
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Contributor: Ordoban <gabba.head@gmx.de>
2
# Generator : CPANPLUS::Dist::Arch 1.32
3
4
pkgname='perl-open-api'
5
pkgver='0.15'
6
pkgrel='1'
7
pkgdesc="OpenAPI 2.0, 3.0 and 3.1 server and client"
8
arch=('i686' 'x86_64')
9
license=('Artistic-1.0')
10
options=('!emptydirs')
11
depends=('perl-file-raw-json>=0.07' 'perl-json-schema-fast>=0.09' 'perl>=5.8.3')
12
makedepends=()
13
url='https://metacpan.org/release/Open-API'
14
source=("http://search.cpan.org/CPAN/authors/id/L/LN/LNATION/Open-API-$pkgver.tar.gz")
15
md5sums=('ce8c1666069d2533fe002409c582d3d2')
16
sha512sums=('fc7884e3e91c2eae61242a9740efa2f2b9f2f9dca508e76fe27dca60f81ee21da8105484fe19e7e2d297ebcce7d0015f1281605ee3dbea0817083d8ca0f582d4')
17
_distdir="Open-API-$pkgver"
18
19
build() {
20
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
21
PERL_AUTOINSTALL=--skipdeps \
22
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
23
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
24
MODULEBUILDRC=/dev/null
25
26
cd "$srcdir/$_distdir"
27
/usr/bin/perl Makefile.PL
28
make
29
}
30
31
check() {
32
cd "$srcdir/$_distdir"
33
export PERL_MM_USE_DEFAULT=1 PERL5LIB="."
34
make test
35
}
36
37
package() {
38
cd "$srcdir/$_distdir"
39
make install
40
}
41
42
# Local Variables:
43
# mode: shell-script
44
# sh-basic-offset: 2
45
# End:
46
# vim:set ts=2 sw=2 et:
47
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-02 10:02:25 | Low | 1 |