From 2f1032af98acdabb893852309da3d569ba31b112 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sun, 25 Feb 2024 11:00:22 -0500 Subject: [PATCH] New package: cups-browsed-2.0.0 --- srcpkgs/cups-browsed/files/cups-browsed/run | 3 +++ srcpkgs/cups-browsed/template | 23 +++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 srcpkgs/cups-browsed/files/cups-browsed/run create mode 100644 srcpkgs/cups-browsed/template diff --git a/srcpkgs/cups-browsed/files/cups-browsed/run b/srcpkgs/cups-browsed/files/cups-browsed/run new file mode 100644 index 00000000000000..2120dce7b0b6dc --- /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 00000000000000..55a8cc6c02ec1e --- /dev/null +++ b/srcpkgs/cups-browsed/template @@ -0,0 +1,23 @@ +# 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 +}