# Maintainer: David P. <megver83@parabola.nu>
# Maintainer (Artix): artoo <artoo@artixlinux.org>

pkgname=cups-openrc
pkgver=20210505
pkgrel=2
pkgdesc="OpenRC cups init script"
arch=('any')
url="https://gitea.artixlinux.org/artixlinux/packages-openrc"
license=('GPL2')
groups=('openrc-world')
provides=('init-cups')
conflicts=('init-cups')
source=("cupsd.initd")
sha256sums=('d808de1c4c21fc5bfbf5d5182d89d31bb6fb1e9e115bcab627d669b964bc7222')

package() {
	depends=('cups' 'openrc' 'avahi-openrc')
	install -Dm755 "${srcdir}"/cupsd.initd "${pkgdir}"/etc/init.d/cupsd
}
