perl-orlite
MEDIUM
maintainer jthvai
19 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
# Maintainer: Alad Wenter <alad at archlinux dot org>
2
# Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
3
# Contributor: Jonathas Rodrigues
4
# vim:set ts=2 sw=2 et ft=sh tw=100: expandtab
5
6
_author=A/AD/ADAMK
7
_perlmod=ORLite
8
pkgname=perl-orlite
9
pkgver=1.98
10
pkgrel=3
11
pkgdesc='ORLite - Extremely light weight SQLite-specific ORM'
12
arch=('any')
13
url="http://search.cpan.org/dist/ORLite"
14
license=('GPL' 'PerlArtistic')
15
depends=(perl-file-remove perl-dbd-sqlite perl-params-util )
16
makedepends=(perl-test-script perl-module-install)
17
options=(!emptydirs)
18
source=("http://search.cpan.org/CPAN/authors/id/$_author/$_perlmod-$pkgver.tar.gz"
19
"fix_tests.patch")
20
sha256sums=('79e9ef07dee7feb7cafdea1a9c0432e12587fc350707a6bc72fd29502b87d021'
21
'f5135d9dab28d8163e418428af346b1d9484f8513d8874c65bd3eddfe4491a97')
22
23
prepare() {
24
cd "$srcdir"/$_perlmod-$pkgver
25
patch -p1 < "$srcdir"/fix_tests.patch
26
}
27
28
build(){
29
cd "$srcdir"/$_perlmod-$pkgver
30
31
# Setting these env variables overwrites any command-line-options we don't want...
32
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
33
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
34
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
35
MODULEBUILDRC=/dev/null
36
37
# If using Makefile.PL
38
if [ -r Makefile.PL ]; then
39
/usr/bin/perl Makefile.PL
40
make
41
# If using Build.PL
42
elif [ -r Build.PL ]; then
43
/usr/bin/perl Build.PL
44
perl Build
45
fi
46
}
47
check(){
48
cd "$srcdir"/$_perlmod-$pkgver
49
50
# If using Makefile.PL
51
if [ -r Makefile.PL ]; then
52
make test
53
# If using Build.PL
54
elif [ -r Build.PL ]; then
55
perl Build test
56
fi
57
}
58
package(){
59
cd "$srcdir"/$_perlmod-$pkgver
60
61
# If using Makefile.PL
62
if [ -r Makefile.PL ]; then
63
make install
64
# If using Build.PL
65
elif [ -r Build.PL ]; then
66
perl Build install
67
fi
68
69
# remove perllocal.pod and .packlist
70
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
71
}
72
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-04 08:06:45 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |