media-libs/libuninameslist: EAPI6, add missing die.
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Sun, 10 Jun 2018 15:26:12 +0000 (17:26 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Fri, 22 Jun 2018 22:17:10 +0000 (00:17 +0200)
Closes: https://github.com/gentoo/gentoo/pull/8787

media-libs/libuninameslist/libuninameslist-20091231-r1.ebuild [moved from media-libs/libuninameslist/libuninameslist-20091231.ebuild with 80% similarity]

similarity index 80%
rename from media-libs/libuninameslist/libuninameslist-20091231.ebuild
rename to media-libs/libuninameslist/libuninameslist-20091231-r1.ebuild
index c29bb127c94be418267442f2714072e9dd5a5c55..3e6efeac8829dcfee3b9de1e2ad63e23d173bca5 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
 DESCRIPTION="Library of unicode annotation data"
 HOMEPAGE="http://libuninameslist.sourceforge.net/"
@@ -12,7 +12,7 @@ SLOT="0"
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
 IUSE=""
 
-S=${WORKDIR}/${PN}
+S="${WORKDIR}/${PN}"
 
 src_configure() {
        econf \
@@ -21,5 +21,5 @@ src_configure() {
 
 src_install() {
        default
-       find "${ED}" -name '*.la' -exec rm -f {} +
+       find "${ED%/}"/usr -name '*.la' -delete || die
 }