perl-net-cups

MEDIUM
maintainer jthvai 5 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: René Wagner <rwagner at rw-net dot de>
2# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
3# Generator : CPANPLUS::Dist::Arch 1.32
4
5pkgname='perl-net-cups'
6pkgver='0.64'
7pkgrel='2'
8pkgdesc="Common Unix Printing System Interface"
9arch=('i686' 'x86_64')
10license=('PerlArtistic' 'GPL')
11options=('!emptydirs')
12depends=('perl' 'e2fsprogs>=1.43.4' 'glibc>=2.25' 'krb5>=1.13.7' 'libcups>=2.2.3' 'zlib>=1:1.2.11' 'cups-filters')
13makedepends=()
14url='https://metacpan.org/release/Net-CUPS'
15source=('http://search.cpan.org/CPAN/authors/id/N/NI/NINE/Net-CUPS-0.64.tar.gz')
16sha256sums=('d7bc77ff0f62bf874c843c590eb12a80bbd44749a2fb74dbed445c35d0e85a85')
17_distdir="Net-CUPS-0.64"
18
19prepare() {
20 cd "$srcdir/$_distdir"
21 # Replace all instances of CUPS_IMAGE_ with CF_IMAGE_ in the source files
22 find . -type f -exec sed -i 's/CUPS_IMAGE_/CF_IMAGE_/g' {} +
23}
24
25build() {
26 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
27 PERL_AUTOINSTALL=--skipdeps \
28 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
29 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
30 MODULEBUILDRC=/dev/null
31
32 cd "$srcdir/$_distdir"
33 /usr/bin/perl Makefile.PL
34 make
35 )
36}
37
38check() {
39 cd "$srcdir/$_distdir"
40 ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
41 make test
42 )
43}
44
45package() {
46 cd "$srcdir/$_distdir"
47 make install
48
49 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
50}
51
52# Local Variables:
53# mode: shell-script
54# sh-basic-offset: 2
55# End:
56# vim:set ts=2 sw=2 et:
57

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