# Contributor: Laurent Bercot <ska-adelie@skarnet.org> # Maintainer: Laurent Bercot <ska-adelie@skarnet.org> pkgname=gettys-openrc pkgver=0.0.2.1 pkgrel=0 pkgdesc="Dynamic getty services" url="https://www.adelielinux.org/" arch="noarch" options="!check" # No test suite. license="NCSA" depends="execline s6" makedepends="" source="gettys.confd gettys.initd" package() { mkdir -p "$pkgdir"/etc/conf.d "$pkgdir"/etc/init.d "$pkgdir"/etc/runlevels/default "$pkgdir"/etc/runlevels/nonetwork cp -f "$srcdir"/gettys.confd "$pkgdir"/etc/conf.d/gettys cp -f "$srcdir"/gettys.initd "$pkgdir"/etc/init.d/gettys chmod 0755 "$pkgdir"/etc/init.d/gettys ln -sf ../../init.d/gettys "$pkgdir"/etc/runlevels/default/ ln -sf ../../init.d/gettys "$pkgdir"/etc/runlevels/nonetwork/ } sha512sums="50039958291cd546c51ce5a30d319f5c5cf7d310fb3cd9f7ad1632fa4bc55775cdac740f76886ff5869a2cfa3f345e760672cebf7727c7ca2514358bcc17e531 gettys.confd 31738d19aa63bc8b100a3ea81a55367029908ddea0e40f2b0a730b2bd591433e8df35f2506b85e219829db6124fde9a4c2509f2977a69f98ab74b616190164c6 gettys.initd"