hplip: move cups mime files to the proper location.
This commit is contained in:
parent
609fca4bb6
commit
f074d10a6b
srcpkgs/hplip
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'hplip'
|
# Template file for 'hplip'
|
||||||
pkgname=hplip
|
pkgname=hplip
|
||||||
version=3.15.2
|
version=3.15.2
|
||||||
revision=3
|
revision=4
|
||||||
#XXX: pyqt pkgs for python gui
|
#XXX: pyqt pkgs for python gui
|
||||||
hostmakedepends="pkg-config automake libtool python"
|
hostmakedepends="pkg-config automake libtool python"
|
||||||
makedepends="libressl-devel python-devel libxml2-python cups-devel
|
makedepends="libressl-devel python-devel libxml2-python cups-devel
|
||||||
|
@ -49,6 +49,8 @@ do_build() {
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
make rulesdir=/usr/lib/udev/rules.d DESTDIR=${DESTDIR} install
|
make rulesdir=/usr/lib/udev/rules.d DESTDIR=${DESTDIR} install
|
||||||
|
vmkdir usr/share/cups/mime
|
||||||
|
mv ${DESTDIR}/etc/cups/*.{types,convs} ${DESTDIR}/usr/share/cups/mime
|
||||||
# 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}
|
||||||
# remove HAL .fdi file because HAL is no longer used
|
# remove HAL .fdi file because HAL is no longer used
|
||||||
|
|
Loading…
Reference in New Issue