summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2021-04-01 00:00:00 +0000
committerMike Gilbert <floppym@gentoo.org>2021-04-01 15:56:47 -0400
commitf9c82007968970ca48019aeb60cc038ed5dd6702 (patch)
tree6db17afdebfa04bb856daaabb9f3ae42e332d5d2 /app-i18n/tagainijisho/tagainijisho-9999.ebuild
parentwww-plugins/chrome-binary-plugins: automated update (91.0.4464.5) (diff)
downloadgentoo-f9c82007968970ca48019aeb60cc038ed5dd6702.tar.gz
gentoo-f9c82007968970ca48019aeb60cc038ed5dd6702.tar.bz2
gentoo-f9c82007968970ca48019aeb60cc038ed5dd6702.zip
app-i18n/tagainijisho: Update URLs.
https://github.com/Gnurou/tagainijisho/commit/35f04ac8fd71023352c2cb44019c675363e3e823 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'app-i18n/tagainijisho/tagainijisho-9999.ebuild')
-rw-r--r--app-i18n/tagainijisho/tagainijisho-9999.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/app-i18n/tagainijisho/tagainijisho-9999.ebuild b/app-i18n/tagainijisho/tagainijisho-9999.ebuild
index ca0b9b19513..aa59819e49b 100644
--- a/app-i18n/tagainijisho/tagainijisho-9999.ebuild
+++ b/app-i18n/tagainijisho/tagainijisho-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2014-2019 Gentoo Authors
+# Copyright 2014-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -36,9 +36,9 @@ else
SRC_URI="https://github.com/Gnurou/${PN}/releases/download/${PV}/${PN}-${TAGAINIJISHO_VERSION}.tar.gz"
fi
if [[ "${PV}" != 9999 ]]; then
- # Upstream: http://ftp.monash.edu.au/pub/nihongo/JMdict.gz
+ # Upstream: https://www.edrdg.org/pub/Nihongo/JMdict.gz
SRC_URI+=" https://home.apache.org/~arfrever/distfiles/JMdict-${JMDICT_DATE}.gz"
- # Upstream: http://www.edrdg.org/kanjidic/kanjidic2.xml.gz
+ # Upstream: https://www.edrdg.org/pub/Nihongo/kanjidic2.xml.gz
SRC_URI+=" https://home.apache.org/~arfrever/distfiles/kanjidic2-${KANJIDIC2_DATE}.xml.gz"
fi
if [[ "${PV}" == 9999 || "${PV}" == *_pre* ]]; then
@@ -94,7 +94,7 @@ src_unpack() {
JMDICT_DATE="${yesterday}"
else
# Download file from today or yesterday.
- wget http://ftp.monash.edu.au/pub/nihongo/JMdict.gz -O JMdict.gz || die
+ wget https://www.edrdg.org/pub/Nihongo/JMdict.gz -O JMdict.gz || die
JMDICT_DATE="$(gzip -cd JMdict.gz | grep -E "^<!-- JMdict created: [[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2} -->$" | sed -e "s/.*\([[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}\).*/\1/")"
if [[ ${JMDICT_DATE} != ${today} && ${JMDICT_DATE} != ${yesterday} ]]; then
die "Unexpected date in JMdict.gz: '${JMDICT_DATE}'"
@@ -114,7 +114,7 @@ src_unpack() {
KANJIDIC2_DATE="${yesterday}"
else
# Download file from today or yesterday.
- wget http://www.edrdg.org/kanjidic/kanjidic2.xml.gz -O kanjidic2.xml.gz || die
+ wget https://www.edrdg.org/pub/Nihongo/kanjidic2.xml.gz -O kanjidic2.xml.gz || die
KANJIDIC2_DATE="$(gzip -cd kanjidic2.xml.gz | grep -E "^<date_of_creation>[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}</date_of_creation>$" | sed -e "s/.*\([[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}\).*/\1/")"
if [[ ${KANJIDIC2_DATE} != ${today} && ${KANJIDIC2_DATE} != ${yesterday} ]]; then
die "Unexpected date in kanjidic2.xml.gz: '${KANJIDIC2_DATE}'"