perl-orlite

MEDIUM
maintainer jthvai 19 votes scanned 2026-11-04 08:06:45.494616
View on AUR
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
8pkgname=perl-orlite
9pkgver=1.98
10pkgrel=3
11pkgdesc='ORLite - Extremely light weight SQLite-specific ORM'
12arch=('any')
13url="http://search.cpan.org/dist/ORLite"
14license=('GPL' 'PerlArtistic')
15depends=(perl-file-remove perl-dbd-sqlite perl-params-util )
16makedepends=(perl-test-script perl-module-install)
17options=(!emptydirs)
18source=("http://search.cpan.org/CPAN/authors/id/$_author/$_perlmod-$pkgver.tar.gz"
19 "fix_tests.patch")
20sha256sums=('79e9ef07dee7feb7cafdea1a9c0432e12587fc350707a6bc72fd29502b87d021'
21 'f5135d9dab28d8163e418428af346b1d9484f8513d8874c65bd3eddfe4491a97')
22
23prepare() {
24 cd "$srcdir"/$_perlmod-$pkgver
25 patch -p1 < "$srcdir"/fix_tests.patch
26}
27
28build(){
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}
47check(){
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}
58package(){
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)SeverityRules
2026-11-04 08:06:45 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion