perl-expect-simple
MEDIUM
maintainer ryoskzypu
2 votes
scanned 2026-11-04 10:06:54.832549
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
# vim:set ts=2 sw=2 et ft=sh tw=100: expandtab
2
# Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
3
# Created: 01/11/2011
4
5
_author=D/DJ/DJERIUS
6
_perlmod=Expect-Simple
7
pkgname=perl-expect-simple
8
pkgver=0.04
9
pkgrel=3
10
pkgdesc='Expect::Simple - wrapper around the Expect module'
11
arch=('any')
12
url="http://search.cpan.org/dist/Expect-Simple/"
13
license=('GPL' 'PerlArtistic')
14
groups=()
15
depends=('perl>=5.10.0')
16
makedepends=()
17
optdepends=()
18
provides=()
19
conflicts=()
20
replaces=()
21
backup=()
22
options=(!emptydirs)
23
install=
24
source=("http://search.cpan.org/CPAN/authors/id/$_author/$_perlmod-$pkgver.tar.gz")
25
noextract=()
26
27
build(){
28
cd "$srcdir"/$_perlmod-$pkgver
29
30
# Setting these env variables overwrites any command-line-options we don't want...
31
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
32
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
33
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
34
MODULEBUILDRC=/dev/null
35
36
# If using Makefile.PL
37
if [ -r Makefile.PL ]; then
38
/usr/bin/perl Makefile.PL
39
make
40
# If using Build.PL
41
elif [ -r Build.PL ]; then
42
/usr/bin/perl Build.PL
43
perl Build
44
fi
45
}
46
check(){
47
cd "$srcdir"/$_perlmod-$pkgver
48
49
# If using Makefile.PL
50
if [ -r Makefile.PL ]; then
51
make test
52
# If using Build.PL
53
elif [ -r Build.PL ]; then
54
perl Build test
55
fi
56
}
57
package(){
58
cd "$srcdir"/$_perlmod-$pkgver
59
60
# If using Makefile.PL
61
if [ -r Makefile.PL ]; then
62
make install
63
# If using Build.PL
64
elif [ -r Build.PL ]; then
65
perl Build install
66
fi
67
68
# remove perllocal.pod and .packlist
69
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
70
}
71
md5sums=('bf185be42e59996021f088788168f9ab')
72
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-04 10:06:54 | Medium | 1 |
| 2026-06-19 22:34:54 | Clean | 0 |