summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/hplip/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/libre/hplip/PKGBUILD b/libre/hplip/PKGBUILD
index 2c062e9d3..a7e1508ff 100644
--- a/libre/hplip/PKGBUILD
+++ b/libre/hplip/PKGBUILD
@@ -9,7 +9,7 @@
pkgname=hplip
pkgver=3.15.11
-pkgrel=2.parabola1
+pkgrel=2.parabola2
pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet, without printers with nonfree drivers support and hplip-plugin binary blobs recommendation (Parabola rebranded)"
arch=('i686' 'x86_64')
url="http://hplipopensource.com"
@@ -45,7 +45,7 @@ prepare() {
# keep header license
sed '/\[/,99999d' data/models/models.dat > mktemp
- for model in $(grep '\[' data/models/models.dat | /bin/sed 's/\[//; s/\]//'); do
+ for model in $(grep '\[' data/models/models.dat | sed 's/\[//; s/\]//'); do
sed -n "/\[$model\]/,/^$/p;" data/models/models.dat > mktemp1
grep '^download=True' -q mktemp1 && continue
grep '^plugin=1' -q mktemp1 && continue
@@ -59,6 +59,9 @@ prepare() {
rm -v mktemp{,1}
+ # remove nonfree software recommendation - https://labs.parabola.nu/issues/893
+ sed -i 's/\, requires proprietary plugin//' $(grep -rlI '[,] requires proprietary plugin')
+
echo "Preparing source"
# disable insecure update - https://bugs.archlinux.org/task/38083