mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-26 14:54:20 +08:00
Add a recipe
This commit is contained in:
parent
2461462212
commit
325a48ff5a
12
recipes/wip/image/upscaling/video2x/recipe.toml
Normal file
12
recipes/wip/image/upscaling/video2x/recipe.toml
Normal file
@ -0,0 +1,12 @@
|
||||
#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
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user