cups: added runit service.

This commit is contained in:
Juan RP 2014-10-13 13:21:47 +02:00
parent 16597486cd
commit 091007f5d7
2 changed files with 6 additions and 3 deletions

2
srcpkgs/cups/files/cupsd/run Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec cupsd -f

View file

@ -1,7 +1,7 @@
# Template file for 'cups'
pkgname=cups
version=1.7.5
revision=2
revision=3
patch_args="-Np1"
short_desc="Common Unix Printing System"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -29,7 +29,7 @@ make_dirs="
/var/log/cups 0750 root root
/var/spool/cups 0755 root lp
/etc/cups/ssl 0700 root lp"
replaces="runit-void<20141013_2"
# Package build options
build_options="systemd"
@ -93,6 +93,8 @@ do_install() {
# comment out all conversion rules which use any of the removed filters
perl -p -i -e 's:^(.*\s+bannertops\s*)$:#\1:' \
${DESTDIR}/usr/share/cups/mime/mime.convs
vsv cupsd
}
libcups_package() {
@ -105,7 +107,6 @@ libcups_package() {
vmove usr/share/man/man5/client.conf.5
}
}
cups-devel_package() {
depends="zlib-devel libcups>=${version}_${revision}"
short_desc+=" - development files"