summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorPeter Colberg <peter@colberg.org>2015-10-29 20:07:35 -0400
committerPeter Colberg <peter@colberg.org>2015-10-29 20:07:35 -0400
commit0a20307c393e17d64aa5b7d40aacc07afcb4f558 (patch)
treeb6a8e9da9a55851de789540fd1e5bd0be55acf0b /data
parentf35e18e4b5300226891e4288d9dba6fc0f737851 (diff)
downloadlibutf8proc-0a20307c393e17d64aa5b7d40aacc07afcb4f558.tar.gz
libutf8proc-0a20307c393e17d64aa5b7d40aacc07afcb4f558.tar.bz2
Set URLCACHE to JuliaLang cache server for Travis builds
Download Unicode data from upstream server by default. Download GNU Unifont from reliable GNU mirror by default.
Diffstat (limited to 'data')
-rw-r--r--data/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/data/Makefile b/data/Makefile
index 31e3934..37bdd74 100644
--- a/data/Makefile
+++ b/data/Makefile
@@ -12,10 +12,6 @@ JULIA=julia
FONTFORGE=fontforge
CURLFLAGS = --retry 5 --location
-# use JuliaLang caching (https://github.com/staticfloat/cache.julialang.org)
-# so that Travis builds do not depend on anyone's flaky servers but our own
-URLCACHE=https://cache.e.ip.saba.us/
-
.PHONY: clean
.DELETE_ON_ERROR:
@@ -27,10 +23,10 @@ utf8proc_data.c.new: data_generator.rb UnicodeData.txt GraphemeBreakProperty.txt
UNIFONT_VERSION=8.0.01
unifont.ttf:
- $(CURL) $(CURLFLAGS) -o $@ $(URLCACHE)http://unifoundry.com/pub/unifont-$(UNIFONT_VERSION)/font-builds/unifont-$(UNIFONT_VERSION).ttf
+ $(CURL) $(CURLFLAGS) -o $@ $(URLCACHE)https://mirrors.kernel.org/gnu/unifont/unifont-$(UNIFONT_VERSION)/unifont-$(UNIFONT_VERSION).ttf
unifont_upper.ttf:
- $(CURL) $(CURLFLAGS) -o $@ $(URLCACHE)http://unifoundry.com/pub/unifont-$(UNIFONT_VERSION)/font-builds/unifont_upper-$(UNIFONT_VERSION).ttf
+ $(CURL) $(CURLFLAGS) -o $@ $(URLCACHE)https://mirrors.kernel.org/gnu/unifont/unifont-$(UNIFONT_VERSION)/unifont_upper-$(UNIFONT_VERSION).ttf
%.sfd: %.ttf
$(FONTFORGE) -lang=ff -c "Open(\"$<\");Save(\"$@\");Quit(0);"