diff options
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild b/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild index 228e64e50988..b4195e8a8d90 100644 --- a/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild +++ b/sys-cluster/util-vserver/util-vserver-0.30.216_pre3120-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -30,6 +30,8 @@ RDEPEND=" S="${WORKDIR}/${MY_P}" +DOCS=( README ChangeLog NEWS AUTHORS THANKS util-vserver.spec ) + pkg_setup() { if [[ -z "${VDIRBASE}" ]]; then einfo @@ -68,15 +70,16 @@ src_compile() { src_install() { make DESTDIR="${D}" install install-distribution || die + # remove runtime paths + rm -r "${D}"/var/run || die + rm -r "${D}"/var/cache || die + # keep dirs - keepdir /var/cache/vservers keepdir "${VDIRBASE}" keepdir "${VDIRBASE}"/.pkg # bash-completion newbashcomp "${FILESDIR}"/bash_completion ${PN} - - dodoc README ChangeLog NEWS AUTHORS THANKS util-vserver.spec } pkg_postinst() { |