commit: 95f338849ca7de74a3c97ada366ed4b99f677c88
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 10 04:32:36 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Aug 10 04:43:17 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95f33884
dev-libs/libunistring: clean up code to use more EAPI=5 logic
dev-libs/libunistring/libunistring-0.9.6.ebuild | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/dev-libs/libunistring/libunistring-0.9.6.ebuild
b/dev-libs/libunistring/libunistring-0.9.6.ebuild
index a276a20..08f726a 100644
--- a/dev-libs/libunistring/libunistring-0.9.6.ebuild
+++ b/dev-libs/libunistring/libunistring-0.9.6.ebuild
@@ -1,6 +1,5 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id$
EAPI="5"
@@ -24,13 +23,11 @@ src_configure() {
}
src_install() {
- dodoc AUTHORS README ChangeLog || die "dodoc failed"
+ default
if use doc; then
- dohtml doc/*.html || die "dohtml failed"
- doinfo doc/*.info || die "doinfo failed"
+ dohtml doc/*.html
+ doinfo doc/*.info
fi
- emake DESTDIR="${D}" install || die "Install failed"
-
prune_libtool_files
}