hplip-printer-app-git
MEDIUM
maintainer dreieck
1 votes
scanned 2026-09-27 13:18:29.354985
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: Bruno Ancona <bruno at powerball253 dot com>
2
3
_pkgname=hplip-printer-app
4
pkgname=$_pkgname-git
5
pkgver=r57.bcce338
6
pkgrel=1
7
pkgdesc=" HPLIP Printer Application"
8
arch=('x86_64')
9
depends=('libcups' 'mupdf-tools')
10
makedepends=('git')
11
source=('git+https://github.com/OpenPrinting/hplip-printer-app.git'
12
'git+https://github.com/michaelrsweet/pappl.git'
13
'git+https://github.com/OpenPrinting/pappl-retrofit.git'
14
'git+https://github.com/OpenPrinting/cups-filters.git'
15
'hplip-printer-app-makefile.patch'
16
'pappl-retrofit-makefile.patch')
17
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP'
18
'ef51e64a325c66ee9a05c236bb9ba863d234c2ebbd17285c2dba8d0de8832d89'
19
'6a2532e722d1566274ae0d7f124ff1f51096fb81341ffd7bfe0235dc2eee0bf2')
20
21
pkgver() {
22
cd $_pkgname
23
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
24
}
25
26
build() {
27
# Build pappl
28
cd pappl
29
./configure --prefix=/ --exec-prefix=/usr --libdir="$srcdir/pappl/pappl" --includedir="$srcdir/pappl"
30
make
31
cd ..
32
33
# Build cups-filters
34
cd cups-filters
35
./autogen.sh
36
./configure --prefix=/ --exec-prefix=/usr --libdir="$srcdir/cups-filters/.libs" --includedir="$srcdir/cups-filters"
37
make
38
sed -i 's/-I.*/-I$\{includedir\}/' *.pc
39
cd ..
40
41
# Build pappl-retrofit
42
cd pappl-retrofit
43
./autogen.sh
44
PKG_CONFIG_PATH="$srcdir/pappl/pappl:$srcdir/cups-filters" ./configure --prefix=/ --exec-prefix=/usr --libdir="$srcdir/pappl-retrofit/.libs" --includedir="$srcdir/pappl-retrofit"
45
patch Makefile < "$srcdir/pappl-retrofit-makefile.patch"
46
make
47
sed -i 's/-I.*/-I$\{includedir\}/' libpappl-retrofit.pc
48
cd ..
49
50
# Build hplip-printer-app
51
cd $_pkgname
52
patch Makefile < "$srcdir/hplip-printer-app-makefile.patch"
53
PKG_CONFIG_PATH="$srcdir/pappl/pappl:$srcdir/cups-filters:$srcdir/pappl-retrofit" make \
54
PAPPL-RETROFIT="$srcdir/pappl-retrofit/.libs/libpappl-retrofit.a" \
55
PPD="$srcdir/cups-filters/.libs/libppd.a" \
56
CUPS-FILTERS="$srcdir/cups-filters/.libs/libcupsfilters.a" \
57
FONTEMBED="$srcdir/cups-filters/.libs/libfontembed.a" \
58
PAPPL="$srcdir/pappl/pappl/libpappl.a"
59
}
60
61
package() {
62
cd $_pkgname
63
make DESTDIR="$pkgdir/" install
64
}
65
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-27 13:18:29 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |