hplip: fix wildcard install of PPDs
This commit is contained in:
parent
b1d078cce5
commit
9be7406d00
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue