From f408f72c425861dfe78685368c534cee9af5edc0 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 23 Dec 2015 10:42:05 -0300 Subject: hplip-3.15.11-2.parabola2: fix freedom issue #893 -> https://labs.parabola.nu/issues/893 --- libre/hplip/PKGBUILD | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libre/hplip/PKGBUILD') 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 -- cgit v1.2.3