# Template file for 'cups-browsed'
pkgname=cups-browsed
version=2.1.1
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 <ajh@sideband.org>"
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=d185169a74e6a5731b6bd74cba8d269f34e5c71cb71ef1841f2fa91637ba1d58
make_check=no # hangs
lib32disabled=yes

post_install() {
	vsv cups-browsed
	vlicense COPYING
	rm -r "${DESTDIR}/etc/rc.d"
}
