summaryrefslogblamecommitdiff
path: root/system/gettys-openrc/APKBUILD
blob: 5516ff0b860f5854eeed3dab39fbbbdaaf92bc66 (plain) (tree)






















                                                                                                                                                          
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
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="feea93da30871754027bc16a7bb8687b4c1780fe7ec9a49c8479ccade4c8770a76c1638029145e33c3a170ccad2d5297287cf59cea67aa561454a333ccf6ae76  gettys.confd
3b4c212bba04c2a100b2e48cbbcdf561f77cb1f4e0565b8d6304315e8edce54ec7891dafc7e82fe9d30a8fad7249e8f0e337f71c4ad8ec50cc140a4e5130648f  gettys.initd"