From 9be7406d003f279e1f560b92e09720b56ee92a7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 22 Dec 2017 15:19:29 +0100 Subject: [PATCH] hplip: fix wildcard install of PPDs --- srcpkgs/hplip/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template index 457016e1110..d6f87b17a12 100644 --- a/srcpkgs/hplip/template +++ b/srcpkgs/hplip/template @@ -19,9 +19,6 @@ license="GPL-2" distfiles="${SOURCEFORGE_SITE}/hplip/hplip/${version}/hplip-${version}.tar.gz" checksum=2f91be9489a50e4c929b2b9d3c72c09905c1195f9b360568b07fcbde4f3faa75 -# XXX: trying to sort that out -broken="https://build.voidlinux.eu/builders/x86_64_builder/builds/6623/steps/shell_3/logs/stdio" - build_options="gui" desc_option_gui="Build with Qt5 gui support" @@ -47,9 +44,11 @@ do_configure() { --with-mimedir=/usr/share/cups/mime } do_build() { - make ${makejobs} + make ${makejobs} all } do_install() { + # remove wildcard install of ppd files to avoid errors when overwriting + sed -i Makefile -e "s;ppd/hpcups/\\*.ppd.gz;;g" make rulesdir=/usr/lib/udev/rules.d DESTDIR=${DESTDIR} install # remove config provided by sane and autostart of hp-daemon rm -rf ${DESTDIR}/etc/{sane.d,xdg}