From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/font-noto/font-noto.xibuild | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 repo/font-noto/font-noto.xibuild (limited to 'repo/font-noto/font-noto.xibuild') diff --git a/repo/font-noto/font-noto.xibuild b/repo/font-noto/font-noto.xibuild new file mode 100644 index 0000000..5679ef0 --- /dev/null +++ b/repo/font-noto/font-noto.xibuild @@ -0,0 +1,37 @@ +#!/bin/sh + +NAME="font-noto" +DESC="Noto font families for Latin, Cyrillic and Greek scripts" + +MAKEDEPS="make ruby" +DEPS="fontconfig " + +PKG_VER=0_git20211101 +BRANCH=364fb14e20f82887280f103f638ff6450dbfc525 +SOURCE="https://github.com/googlefonts/noto-fonts/archive/$BRANCH/noto-fonts-$BRANCH.tar.gz" +ADDITIONAL="noto-meta.json noto-meta fontconfig.xml.erb 58-noto-math.xml " + +prepare () { + chmod +x ./noto-meta +} + +build () { + ./noto-meta gen-font-confs conf.d/ +} + +package () { + for f in hinted/ttf/*/*.ttf; do + install -D -m644 $f "$PKG_DEST/usr/share/fonts/noto" + done + + for f in conf.d/*.xml; do + install -D -m644 $f "$PKG_DEST"/etc/fonts/conf.avail/ + done + + cd "$PKG_DEST" + + mkdir -p etc/fonts/conf.d + local f; for f in etc/fonts/conf.avail/*.xml; do + ln -s ../conf.avail/${f##*/} "$PKG_DEST"/etc/fonts/conf.d/${f##*/} + done +} -- cgit v1.2.1