perl-test-mocktime-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-test-mocktime-hires'
4
pkgver='0.08'
5
pkgrel='1'
6
pkgdesc="Replaces actual time with simulated high resolution time"
7
arch=('any')
8
license=('PerlArtistic' 'GPL')
9
options=('!emptydirs')
10
depends=('perl-test-mocktime')
11
checkdepends=('perl-test-class' 'perl-test-requires' 'perl-anyevent')
12
makedepends=('perl-module-build-tiny')
13
url='https://metacpan.org/dist/Test-MockTime-HiRes'
14
source=('https://cpan.metacpan.org/authors/id/T/TA/TARAO/Test-MockTime-HiRes-0.08.tar.gz')
15
md5sums=('ba664276b7540ed5f8f76fc68f5f75be')
16
_distdir="Test-MockTime-HiRes-0.08"
17
18
build() {
19
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
20
PERL_AUTOINSTALL=--skipdeps \
21
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
22
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
23
MODULEBUILDRC=/dev/null
24
25
cd "$srcdir/$_distdir"
26
/usr/bin/perl Build.PL
27
/usr/bin/perl Build
28
)
29
}
30
31
check() {
32
cd "$srcdir/$_distdir"
33
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
34
unset DISPLAY
35
/usr/bin/perl Build test
36
)
37
}
38
39
package() {
40
cd "$srcdir/$_distdir"
41
/usr/bin/perl Build install
42
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
43
}
44
45
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-04 08:06:45 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |