summaryrefslogtreecommitdiff
path: root/system/gettys-openrc/APKBUILD
blob: cde63a6483db7a653fb0b04f18d4008824a5892a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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://adelielinux.org/"
arch="noarch"
options="!check"  # No test suite.
license="NCSA"
depends="execline s6"
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
4fdb5e177bc6862e8b55c1252079a2ee31d25e157cd6a36bae766e25d2a79ba4b731d35660e01b38325bf8ae8a9ea9ccfddb5ec662ba1bb76e71ce9372ab608a  gettys.initd"