unitas/app-misc/screenservice/screenservice-1.2.ebuild

22 lines
660 B
Bash
Raw Normal View History

2016-12-05 16:17:25 +01:00
EAPI="5"
inherit systemd
DESCRIPTION="Start Screen sessions as a service"
HOMEPAGE="https://bugs.gentoo.org/show_bug.cgi?id=381451"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 sparc-fbsd x86-fbsd hppa-hpux amd64-linux x86-linux ppc-macos x64-macos x86-macos sparc-solaris sparc64-solaris x64-solaris x86-solaris"
RDEPEND="app-misc/screen
app-misc/mc[-slang]"
DEPEND="${RDEPEND}"
S=${WORKDIR}
src_install() {
2016-12-05 16:40:33 +01:00
systemd_newunit "${FILESDIR}/screen.service" screen@.service
newinitd "${FILESDIR}/screen.init" screen || die
insinto /etc/screen.d
newins "${FILESDIR}/screen-adm" screen-adm
}