# Contributor: Laurent Bercot # Maintainer: Laurent Bercot pkgname=gettys-openrc pkgver=0.0.1.0 pkgrel=3 pkgdesc="Dynamic getty services" url="http://adelielinux.org/" arch="noarch" options="!check" # No test suite. license="NCSA" depends="sysvinit execline" source="gettys.confd gettys.initd" package() { mkdir -p "$pkgdir"/etc/conf.d "$pkgdir"/etc/init.d "$pkgdir"/etc/runlevels/sysinit 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/sysinit } sha512sums="50039958291cd546c51ce5a30d319f5c5cf7d310fb3cd9f7ad1632fa4bc55775cdac740f76886ff5869a2cfa3f345e760672cebf7727c7ca2514358bcc17e531 gettys.confd 3b4c212bba04c2a100b2e48cbbcdf561f77cb1f4e0565b8d6304315e8edce54ec7891dafc7e82fe9d30a8fad7249e8f0e337f71c4ad8ec50cc140a4e5130648f gettys.initd"