app-misc/uptimed: Bump to EAPI-6.
authorLars Wendler <polynomial-c@gentoo.org>
Mon, 2 Jan 2017 08:16:06 +0000 (09:16 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 2 Jan 2017 08:16:20 +0000 (09:16 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

app-misc/uptimed/uptimed-0.4.0.ebuild

index 50530a0cea315a093f8f2b8a530cf69e01208ee2..5d427d657acbea231fe45e80316fa607c14e0180 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit autotools eutils user systemd
 
@@ -21,6 +21,7 @@ pkg_setup() {
 }
 
 src_prepare() {
+       default
        # respect DESTDIR
        sed -i -e 's|-d \(/var/spool.*\)$|-d $(DESTDIR)\1|' Makefile.am || die
        # fix configure.ac for >=automake-1.13 (bug #467582)
@@ -33,11 +34,11 @@ src_configure() {
 }
 
 src_install() {
+       local DOCS=( ChangeLog README.md TODO AUTHORS CREDITS INSTALL.cgi sample-cgi/* )
        default
        prune_libtool_files --all
        keepdir /var/spool/uptimed
        fowners uptimed:uptimed /var/spool/uptimed
-       dodoc ChangeLog README.md TODO AUTHORS CREDITS INSTALL.cgi sample-cgi/*
        newinitd "${FILESDIR}"/${PN}.init uptimed
        systemd_dounit "${FILESDIR}/${PN}.service"
 }