diff --git a/srcpkgs/cups-filters/files/cups-browsed.service b/srcpkgs/cups-filters/files/cups-browsed.service deleted file mode 100644 index 55cdced07bf..00000000000 --- a/srcpkgs/cups-filters/files/cups-browsed.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Make remote CUPS printers available locally -After=cups.service avahi-daemon.service -Wants=cups.service avahi-daemon.service - -[Service] -ExecStart=/usr/sbin/cups-browsed -PrivateTmp=yes - -[Install] -WantedBy=multi-user.target diff --git a/srcpkgs/cups-filters/template b/srcpkgs/cups-filters/template index 867bba0a312..21da89d58e4 100644 --- a/srcpkgs/cups-filters/template +++ b/srcpkgs/cups-filters/template @@ -1,6 +1,6 @@ # Template file for 'cups-filters' pkgname=cups-filters -version=1.0.37 +version=1.0.41 revision=1 build_style=gnu-configure configure_args="--with-rcdir=no --enable-avahi --with-browseremoteprotocols=DNSSD,CUPS" @@ -13,7 +13,7 @@ maintainer="Juan RP " license="GPL-2, LGPL-2.1, MIT" homepage="http://www.linuxfoundation.org/collaborate/workgroups/openprinting" distfiles="http://www.openprinting.org/download/${pkgname}/${pkgname}-${version}.tar.xz" -checksum=7721c52a6b9f968007044bcabbe294e86f800ef053807248854aaba796f78818 +checksum=acb9e43aabcbdcbf9184d03b8a83345bb37e74a669f2f133058aa003a5497cb1 post_install() { # remove development stuff. @@ -21,10 +21,14 @@ post_install() { rm -f ${DESTDIR}/usr/lib/*.a # install systemd service rm -rf ${DESTDIR}/etc/rc.d - vinstall ${FILESDIR}/cups-browsed.service 644 usr/lib/systemd/system + + vinstall utils/cups-browsed.service 644 usr/lib/systemd/system + chgrp -R lp ${DESTDIR}/etc/cups } cups-filters_package() { + conf_files="/etc/cups/cups-browsed.conf" + systemd_services="cups-browsed.service on" depends="ghostscript poppler-utils" pkg_install() { vmove all