diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-12-23 10:42:05 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-12-23 13:11:23 -0300 |
commit | f408f72c425861dfe78685368c534cee9af5edc0 (patch) | |
tree | dfccbf8c355a93a431b1b9fc3796014ed02679f2 /libre/hplip | |
parent | d74aaf3d1eb3e765c941bb2ac7ded1b79bb1cb8c (diff) | |
download | abslibre-f408f72c425861dfe78685368c534cee9af5edc0.tar.gz abslibre-f408f72c425861dfe78685368c534cee9af5edc0.tar.bz2 abslibre-f408f72c425861dfe78685368c534cee9af5edc0.zip |
hplip-3.15.11-2.parabola2: fix freedom issue #893 -> https://labs.parabola.nu/issues/893
Diffstat (limited to 'libre/hplip')
-rw-r--r-- | libre/hplip/PKGBUILD | 7 |
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 |