summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-11-20 22:17:45 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-11-20 22:23:27 +0900
commitaff7637ee6efcfd261803533a1c2bcafdceaa92d (patch)
tree882814226cbfc4afb36e3f2ebd1ff65e77b27177 /app-i18n/unicode-emoji
parentmail-client/claws-mail: Synced live ebuild (diff)
downloadgentoo-aff7637ee6efcfd261803533a1c2bcafdceaa92d.tar.gz
gentoo-aff7637ee6efcfd261803533a1c2bcafdceaa92d.tar.bz2
gentoo-aff7637ee6efcfd261803533a1c2bcafdceaa92d.zip
app-i18n/unicode-emoji: update to EAPI 8
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n/unicode-emoji')
-rw-r--r--app-i18n/unicode-emoji/metadata.xml8
-rw-r--r--app-i18n/unicode-emoji/unicode-emoji-11.0.ebuild16
-rw-r--r--app-i18n/unicode-emoji/unicode-emoji-12.0.ebuild16
-rw-r--r--app-i18n/unicode-emoji/unicode-emoji-13.0.ebuild3
4 files changed, 17 insertions, 26 deletions
diff --git a/app-i18n/unicode-emoji/metadata.xml b/app-i18n/unicode-emoji/metadata.xml
index 491c88b3a31f..a94766977fa6 100644
--- a/app-i18n/unicode-emoji/metadata.xml
+++ b/app-i18n/unicode-emoji/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>cjk@gentoo.org</email>
- <name>Cjk</name>
- </maintainer>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
</pkgmetadata>
diff --git a/app-i18n/unicode-emoji/unicode-emoji-11.0.ebuild b/app-i18n/unicode-emoji/unicode-emoji-11.0.ebuild
index 8939ac8ffae5..d470cbccdd5a 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 9460559ffde2..5e7e99843248 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 2a2ab980f142..93c2b32bae57 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}"