app-editors/appflowy-bin: add 0.7.4, drop 0.7.3
[gentoo-zh.git] / app-i18n / lunar / lunar-2.2-r5.ebuild
blobf477ad8ab4599c2130944f505729cfe1de3fa672
1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 DESCRIPTION="Chinese Lunar Calendar conversion utility"
7 HOMEPAGE="https://packages.debian.org/unstable/utils/lunar"
8 SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}.orig.tar.gz
9 mirror://debian/pool/main/l/${PN}/${PN}_${PVR/r5/9}.debian.tar.xz"
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
15 S="${WORKDIR}/${PN}"
17 PATCHES=(
18 "${WORKDIR}/debian/patches/01_strip_trailing_whitespace.diff"
19 "${WORKDIR}/debian/patches/02_fix_compiler_warnings.diff"
20 "${WORKDIR}/debian/patches/03_add_full_path_to_lunar_bitmap.diff"
21 "${WORKDIR}/debian/patches/04_add_big5_and_utf8_output.diff"
22 "${WORKDIR}/debian/patches/05_fix_output_on_year_2033.diff"
23 "${WORKDIR}/debian/patches/06_use_locale_and_current_date.diff"
24 "${WORKDIR}/debian/patches/07_fix_segfault_aggressive-loop-optimizations.diff"
25 "${WORKDIR}/debian/patches/10_complete_the_makefile.diff"
26 "${WORKDIR}/debian/patches/20_update_man_page.diff"
27 "${WORKDIR}/debian/patches/22_datetime-go-back_Zhi.hour_jiealert.patch"
30 src_install() {
31 dobin lunar
32 doman lunar.1
33 insinto /usr/share/lunar
34 doins lunar.bitmap