diff --git a/srcpkgs/cups-browsed/files/cups-browsed/run b/srcpkgs/cups-browsed/files/cups-browsed/run new file mode 100644 index 00000000000..2120dce7b0b --- /dev/null +++ b/srcpkgs/cups-browsed/files/cups-browsed/run @@ -0,0 +1,3 @@ +#!/bin/sh +exec 2>&1 +exec cups-browsed diff --git a/srcpkgs/cups-browsed/template b/srcpkgs/cups-browsed/template new file mode 100644 index 00000000000..6b802b6b5e9 --- /dev/null +++ b/srcpkgs/cups-browsed/template @@ -0,0 +1,24 @@ +# Template file for 'cups-browsed' +pkgname=cups-browsed +version=2.0.0 +revision=1 +build_style=gnu-configure +conf_files="/etc/cups/cups-browsed.conf" +hostmakedepends="pkg-config glib-devel" +makedepends="avahi-glib-libs-devel cups-devel libcupsfilters-devel libppd-devel + glib-devel" +short_desc="Daemon to browse network for remote CUPS queues and IPP network printers" +maintainer="Andrew J. Hesford " +license="Apache-2.0 WITH custom:GPL2-LGPL2-Exception" +homepage="https://github.com/OpenPrinting/cups-browsed" +changelog="https://github.com/OpenPrinting/cups-browsed/blob/master/CHANGES.md" +distfiles="https://github.com/OpenPrinting/cups-browsed/releases/download/${version}/cups-browsed-${version}.tar.xz" +checksum=3a63793213f302787357f520a09e4aaae47aad67cd030d9b29de20e51649b38b +make_check=no # hangs +lib32disabled=yes + +post_install() { + vsv cups-browsed + vlicense COPYING + rm -r "${DESTDIR}/etc/rc.d" +}