summaryrefslogtreecommitdiff
path: root/sys-fs/autorun/autorun-3.17.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/autorun/autorun-3.17.ebuild')
-rw-r--r--sys-fs/autorun/autorun-3.17.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys-fs/autorun/autorun-3.17.ebuild b/sys-fs/autorun/autorun-3.17.ebuild
index 0b1869badd0..3fba603c6a6 100644
--- a/sys-fs/autorun/autorun-3.17.ebuild
+++ b/sys-fs/autorun/autorun-3.17.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=2
-inherit eutils
+EAPI=7
DESCRIPTION="auto cdrom mounter for the lazy user"
HOMEPAGE="http://autorun.sourceforge.net/"
@@ -19,9 +18,7 @@ DEPEND="sys-devel/gettext
app-text/xmlto
app-text/docbook-xml-dtd:4.1.2"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-headers.patch
-}
+PATCHES=( "${FILESDIR}/${P}-headers.patch" )
src_configure() {
export KDEDIR=/usr
@@ -31,5 +28,4 @@ src_configure() {
src_install() {
emake DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS README
}