mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 12:24:17 +08:00
Add ttf-hack recipe
This commit is contained in:
parent
9c7a0fdf3e
commit
680071202e
35
recipes/ttf-hack/recipe.sh
Normal file
35
recipes/ttf-hack/recipe.sh
Normal file
@ -0,0 +1,35 @@
|
||||
VERSION=3.003
|
||||
TAR="https://github.com/source-foundry/Hack/releases/download/v$VERSION/Hack-v$VERSION-ttf.tar.xz"
|
||||
|
||||
function recipe_version {
|
||||
echo "$VERSION"
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_update {
|
||||
echo "skipping update"
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
echo "skipping build"
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_test {
|
||||
echo "skipping test"
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_clean {
|
||||
echo "skipping clean"
|
||||
skip=1
|
||||
}
|
||||
|
||||
function recipe_stage {
|
||||
dest="$(realpath "$1")"
|
||||
for file in *.ttf; do
|
||||
install -D -m 644 "$file" "$dest/ui/fonts/Hack/$file"
|
||||
done
|
||||
skip=1
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user