perl-datetime-hires
MEDIUM
maintainer jthvai
0 votes
scanned 2026-11-04 08:06:45.494616
Why flagged
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Triggered rules
Medium
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Contributor: Michał Wojdyła < micwoj9292 at gmail dot com >
2
3
pkgname='perl-datetime-hires'
4
pkgver='0.04'
5
pkgrel='1'
6
pkgdesc="Create DateTime objects with sub-second current time resolution"
7
arch=('any')
8
license=('PerlArtistic' 'GPL')
9
options=('!emptydirs')
10
depends=('perl-datetime')
11
url='https://metacpan.org/dist/DateTime-HiRes'
12
source=('https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-HiRes-0.04.tar.gz')
13
md5sums=('6e7be00854ce84cac644cf04c66a6f33')
14
_distdir="DateTime-HiRes-0.04"
15
16
build() {
17
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
18
PERL_AUTOINSTALL=--skipdeps \
19
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
20
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
21
MODULEBUILDRC=/dev/null
22
23
cd "$srcdir/$_distdir"
24
/usr/bin/perl Makefile.PL
25
make
26
)
27
}
28
29
check() {
30
cd "$srcdir/$_distdir"
31
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
32
make test
33
)
34
}
35
36
package() {
37
cd "$srcdir/$_distdir"
38
make install
39
40
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
41
}
42
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-04 08:06:45 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |