redox/recipes/wip/image/upscaling/video2x/recipe.toml
2024-08-05 03:00:54 +00:00

13 lines
436 B
TOML

#TODO maybe incomplete script
[source]
git = "https://github.com/k4yt3x/video2x"
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}"/usr/share/video2x
mkdir -pv "${COOKBOOK_STAGE}"/usr/bin
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/usr/share/video2x
echo "#!/usr/bin/env sh \n cd /usr/share/video2x \n python3 -m video2x" > "${COOKBOOK_STAGE}"/usr/bin/video2x
chmod a+x "${COOKBOOK_STAGE}"/usr/bin/video2x
"""