mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 17:33:03 +02:00
hplip: fix wildcard install of PPDs
This commit is contained in:
parent
b1d078cce5
commit
9be7406d00
1 changed files with 3 additions and 4 deletions
|
@ -19,9 +19,6 @@ license="GPL-2"
|
||||||
distfiles="${SOURCEFORGE_SITE}/hplip/hplip/${version}/hplip-${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/hplip/hplip/${version}/hplip-${version}.tar.gz"
|
||||||
checksum=2f91be9489a50e4c929b2b9d3c72c09905c1195f9b360568b07fcbde4f3faa75
|
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"
|
build_options="gui"
|
||||||
desc_option_gui="Build with Qt5 gui support"
|
desc_option_gui="Build with Qt5 gui support"
|
||||||
|
|
||||||
|
@ -47,9 +44,11 @@ do_configure() {
|
||||||
--with-mimedir=/usr/share/cups/mime
|
--with-mimedir=/usr/share/cups/mime
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs}
|
make ${makejobs} all
|
||||||
}
|
}
|
||||||
do_install() {
|
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
|
make rulesdir=/usr/lib/udev/rules.d DESTDIR=${DESTDIR} install
|
||||||
# remove config provided by sane and autostart of hp-daemon
|
# remove config provided by sane and autostart of hp-daemon
|
||||||
rm -rf ${DESTDIR}/etc/{sane.d,xdg}
|
rm -rf ${DESTDIR}/etc/{sane.d,xdg}
|
||||||
|
|
Loading…
Add table
Reference in a new issue