perl-datetime-format-natural
MEDIUM
maintainer jthvai
3 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
# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
3
4
pkgname='perl-datetime-format-natural'
5
pkgver='1.18'
6
pkgrel='1'
7
pkgdesc="Parse informal natural language date/time strings"
8
arch=('any')
9
license=('PerlArtistic' 'GPL')
10
options=('!emptydirs')
11
depends=('perl-clone' 'perl-datetime' 'perl-datetime-hires' 'perl-boolean')
12
makedepends=('perl-module-build')
13
checkdepends=('perl-module-util' 'perl-test-mocktime-hires')
14
url='https://metacpan.org/dist/DateTime-Format-Natural'
15
source=(https://cpan.metacpan.org/authors/id/S/SC/SCHUBIGER/DateTime-Format-Natural-$pkgver.tar.gz)
16
md5sums=('17253821734e7166036e3e223fd3f006')
17
_distdir="DateTime-Format-Natural-$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 Build.PL
28
/usr/bin/perl Build
29
)
30
}
31
32
check() {
33
cd "$srcdir/$_distdir"
34
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
35
unset DISPLAY
36
/usr/bin/perl Build test
37
)
38
}
39
40
package() {
41
cd "$srcdir/$_distdir"
42
/usr/bin/perl Build install
43
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
44
}
45
46
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-04 08:06:45 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |