feat(terminfo): convert to TOML recipe

Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
Anhad Singh 2025-02-02 15:27:43 +11:00
parent 3d492f9ae3
commit 7a0b6a54ab
No known key found for this signature in database
GPG Key ID: 80E0357347554B89
2 changed files with 11 additions and 22 deletions

View File

@ -1,22 +0,0 @@
GIT=https://github.com/sajattack/terminfo
function recipe_version {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
skip=1
}
function recipe_build {
echo "skipping build"
skip=1
}
function recipe_clean {
echo "skipping clean"
skip=1
}
function recipe_stage {
mkdir -p ../stage/share
cp -r * ../stage/share/
skip=1
}

View File

@ -0,0 +1,11 @@
[source]
git = "https://github.com/sajattack/terminfo"
branch = "master"
[build]
template = "custom"
script = """
mkdir -p ${COOKBOOK_STAGE}/share
cp -r ${COOKBOOK_SOURCE}/. ${COOKBOOK_STAGE}/share/
"""