summaryrefslogtreecommitdiff
path: root/libre/hplip/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-06-01 22:55:28 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-06-01 22:55:28 -0500
commit4d46463d2534e5f6459060e981da17c2cac9cfec (patch)
tree54977e2cb3daa3b6fe2be4c429b51dafa189ddf6 /libre/hplip/PKGBUILD
parentb256c792f7ab11d4c9162402a1b028259b761f87 (diff)
downloadabslibre-4d46463d2534e5f6459060e981da17c2cac9cfec.tar.gz
abslibre-4d46463d2534e5f6459060e981da17c2cac9cfec.tar.bz2
abslibre-4d46463d2534e5f6459060e981da17c2cac9cfec.zip
hplip-3.17.4-1.parabola1: updating version
Diffstat (limited to 'libre/hplip/PKGBUILD')
-rw-r--r--libre/hplip/PKGBUILD24
1 files changed, 10 insertions, 14 deletions
diff --git a/libre/hplip/PKGBUILD b/libre/hplip/PKGBUILD
index 9a65a1339..80902d2a6 100644
--- a/libre/hplip/PKGBUILD
+++ b/libre/hplip/PKGBUILD
@@ -8,8 +8,8 @@
# Contributor: Márcio Silva <coadde@parabola.nu>
pkgname=hplip
-pkgver=3.16.11
-pkgrel=2.parabola1
+pkgver=3.17.4
+pkgrel=1.parabola1
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' 'armv7h')
url="http://hplipopensource.com"
@@ -31,12 +31,10 @@ conflicts=(${pkgname}-libre)
backup=('etc/hp/hplip.conf' 'etc/sane.d/dll.d/hpaio')
source=(https://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz{,.asc}
disable_upgrade.patch
- fix_tabs.patch
0022-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch)
-sha1sums=('177252a6c3e508b6d4f9d02663fe3556f37de71e'
+sha1sums=('c8ab39e616964c7342320a0d45f729fe7d7dd402'
'SKIP'
'4ef1b506ff5930ab841945ae9178f28fca1997ad'
- 'bd18428ff1e378aa0a299331607eaed82021e34b'
'2ef86972ab51c0fdcb8bfc653b9f6f69459449a5')
validpgpkeys=('4ABA2F66DBD5A95894910E0673D770CDA59047B9') # HPLIP <hplip@hp.com>
@@ -47,7 +45,7 @@ prepare() {
# based on https://devel.trisquel.info/trisquel/package-helpers/raw/master/helpers/make-hplip
# keep header license
- sed '/\[/,99999d' data/models/models.dat > mktemp
+ sed '/\[/,99999d' data/models/models.dat > mktemp
for model in $(grep '\[' data/models/models.dat | sed 's/\[//; s/\]//'); do
sed -n "/\[$model\]/,/^$/p;" data/models/models.dat > mktemp1
@@ -67,12 +65,10 @@ prepare() {
sed -i 's/\, requires proprietary plugin//' $(grep -rlI '[,] requires proprietary plugin')
echo "Preparing source"
-
+
# disable insecure update - https://bugs.archlinux.org/task/38083
patch -Np0 -i ${srcdir}/disable_upgrade.patch
-
- # fix tabs breaking printing; FS#50588
- patch -Np0 -i ${srcdir}/fix_tabs.patch
+
# add missing 'include <cups/ppd.h>' at various places
patch -Np1 -i ${srcdir}/0022-Add-include-cups-ppd.h-in-various-places-as-CUPS-2.2.patch
@@ -86,7 +82,7 @@ prepare() {
gzip > ${i}.temp || return 1
mv ${i}.temp ${i}
done
-
+
export AUTOMAKE='automake --foreign'
autoreconf --force --install
}
@@ -111,15 +107,15 @@ build() {
package() {
cd $pkgname-$pkgver
make -j1 rulesdir=/usr/lib/udev/rules.d DESTDIR="$pkgdir/" install
-
+
# remove config provided by sane and autostart of hp-daemon
rm -rf "$pkgdir"/etc/{sane.d,xdg}
install -dm755 ${pkgdir}/etc/sane.d/dll.d
echo hpaio > ${pkgdir}/etc/sane.d/dll.d/hpaio
-
+
# remove HAL .fdi file because HAL is no longer used
rm -vrf "$pkgdir"/usr/share/hal
-
+
# remove rc script
rm -vrf "$pkgdir"/etc/init.d
}