mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 23:38:57 -04:00
38 lines
774 B
Bash
38 lines
774 B
Bash
# Copyright 2020-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit git-r3
|
|
DESCRIPTION="Emoji annotation files in CLDR"
|
|
HOMEPAGE="https://github.com/fujiwarat/cldr-emoji-annotation"
|
|
EGIT_REPO_URI="https://github.com/fujiwarat/cldr-emoji-annotation.git"
|
|
|
|
LICENSE="Unicode_License"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
SRC_URI=""
|
|
|
|
DEPEND=""
|
|
RDEPEND="
|
|
${DEPEND}
|
|
!app-i18n/unicode-cldr
|
|
"
|
|
BDEPEND=""
|
|
|
|
if [[ "${PV}" != 9999 ]]; then
|
|
EGIT_COMMIT="f8c894a865251d7fad7c93fe8f8837e79efa02ad"
|
|
else
|
|
KEYWORDS=""
|
|
fi
|
|
|
|
src_prepare() {
|
|
./autogen.sh --prefix=/usr || die
|
|
if declare -p PATCHES | grep -q "^declare -a "; then
|
|
[[ -n ${PATCHES[@]} ]] && eapply "${PATCHES[@]}"
|
|
else
|
|
[[ -n ${PATCHES} ]] && eapply ${PATCHES}
|
|
fi
|
|
eapply_user
|
|
}
|