diff --git a/app-i18n/unicode-emoji/metadata.xml b/app-i18n/unicode-emoji/metadata.xml index 491c88b3a31f2..a94766977fa68 100644 --- a/app-i18n/unicode-emoji/metadata.xml +++ b/app-i18n/unicode-emoji/metadata.xml @@ -1,8 +1,8 @@ - - cjk@gentoo.org - Cjk - + + cjk@gentoo.org + Cjk + diff --git a/app-i18n/unicode-emoji/unicode-emoji-11.0.ebuild b/app-i18n/unicode-emoji/unicode-emoji-11.0.ebuild index 8939ac8ffae5c..d470cbccdd5af 100644 --- a/app-i18n/unicode-emoji/unicode-emoji-11.0.ebuild +++ b/app-i18n/unicode-emoji/unicode-emoji-11.0.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI="8" DESCRIPTION="UTS #51 Unicode Emoji" HOMEPAGE="https://unicode.org/emoji/" @@ -17,9 +17,7 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86" IUSE="" -DEPEND="" RDEPEND="" - S="${WORKDIR}" src_unpack() { @@ -27,11 +25,9 @@ src_unpack() { } src_install() { - insinto /usr/share/unicode/emoji - local source_file target_file - for source_file in ${A}; do - target_file="${source_file#${PN%-*}-}" - target_file="${target_file%-${PV}.txt}.txt" - newins "${DISTDIR}/${source_file}" "${target_file}" + local a + insinto /usr/share/${PN/-//} + for a in ${A}; do + newins "${DISTDIR}"/${a} $(echo ${a} | sed "s/${PN%-*}-\(.*\)-${PV}/\1/") done } diff --git a/app-i18n/unicode-emoji/unicode-emoji-12.0.ebuild b/app-i18n/unicode-emoji/unicode-emoji-12.0.ebuild index 9460559ffde25..5e7e99843248a 100644 --- a/app-i18n/unicode-emoji/unicode-emoji-12.0.ebuild +++ b/app-i18n/unicode-emoji/unicode-emoji-12.0.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI="8" DESCRIPTION="UTS #51 Unicode Emoji" HOMEPAGE="https://unicode.org/emoji/" @@ -17,9 +17,7 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="" -DEPEND="" RDEPEND="" - S="${WORKDIR}" src_unpack() { @@ -27,11 +25,9 @@ src_unpack() { } src_install() { - insinto /usr/share/unicode/emoji - local source_file target_file - for source_file in ${A}; do - target_file="${source_file#${PN%-*}-}" - target_file="${target_file%-${PV}.txt}.txt" - newins "${DISTDIR}/${source_file}" "${target_file}" + local a + insinto /usr/share/${PN/-//} + for a in ${A}; do + newins "${DISTDIR}"/${a} $(echo ${a} | sed "s/${PN%-*}-\(.*\)-${PV}/\1/") done } diff --git a/app-i18n/unicode-emoji/unicode-emoji-13.0.ebuild b/app-i18n/unicode-emoji/unicode-emoji-13.0.ebuild index 2a2ab980f142b..93c2b32bae577 100644 --- a/app-i18n/unicode-emoji/unicode-emoji-13.0.ebuild +++ b/app-i18n/unicode-emoji/unicode-emoji-13.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI="8" DESCRIPTION="UTS #51 Unicode Emoji" HOMEPAGE="https://unicode.org/emoji/techindex.html" @@ -18,7 +18,6 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="" -DEPEND="" RDEPEND="" S="${WORKDIR}"