diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 557a246..7b229e2 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -65,8 +65,8 @@ build() { --with-logdir=/var/log/cups \ --with-docdir=/usr/share/cups/doc \ --with-exe-file-perm=0755 \ - --with-cups-user=daemon \ - --with-cups-group=lp \ + --with-cups-user=cups \ + --with-cups-group=cups \ --enable-pam=yes \ --enable-raw-printing \ --enable-dbus --with-dbusdir=/etc/dbus-1 \ @@ -129,7 +129,7 @@ optdepends=('xdg-utils: xdg .desktop file support' chmod 755 ${pkgdir}/etc # install ssl directory where to store the certs, solves some samba issues - install -dm700 -g lp ${pkgdir}/etc/cups/ssl + install -dm700 -g cups ${pkgdir}/etc/cups/ssl # remove directory from package, it will be recreated at each server start rm -rf ${pkgdir}/run @@ -137,7 +137,7 @@ optdepends=('xdg-utils: xdg .desktop file support' touch ${pkgdir}/etc/cups/printers.conf touch ${pkgdir}/etc/cups/classes.conf touch ${pkgdir}/etc/cups/subscriptions.conf - chgrp -R lp ${pkgdir}/etc/cups + chgrp -R cups ${pkgdir}/etc/cups # fix .desktop file sed -i 's|^Exec=htmlview http://localhost:631/|Exec=xdg-open http://localhost:631/|g' ${pkgdir}/usr/share/applications/cups.desktop