Add recipes

This commit is contained in:
Ribbon 2024-07-26 00:13:38 +00:00
parent b3532dfaa7
commit 2045eb1222
5 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# runtime dependencies - https://electrum.org/#download
[source]
tar = "https://download.electrum.org/4.5.5/Electrum-4.5.5.tar.gz"
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}"/usr/share/electrum
mkdir -pv "${COOKBOOK_STAGE}"/usr/bin
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/usr/share/electrum
echo "python3 /usr/share/electrum/run_electrum" > "${COOKBOOK_STAGE}"/usr/bin/electrum
"""

View File

@ -0,0 +1,11 @@
#TODO make openjdk work
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_SOURCE}"
wget https://github.com/Anuken/Mindustry/releases/download/v146/Mindustry.jar
mkdir -pv "${COOKBOOK_STAGE}"/usr/share/mindustry
mkdir -pv "${COOKBOOK_STAGE}"/usr/bin
cp -rv "${COOKBOOK_SOURCE}"/Mindustry.jar "${COOKBOOK_STAGE}"/usr/share/mindustry
echo "java -jar /usr/share/mindustry/Mindustry.jar" > "${COOKBOOK_STAGE}"/usr/bin/mindustry
"""

View File

@ -0,0 +1,12 @@
#TODO not compiled or tested
[source]
git = "https://github.com/webtorrent/webtorrent-cli"
rev = "298ae70a7baeb1bfc836abe2821baf78b50c3af1"
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}"/usr/share/webtorrent-cli
mkdir -pv "${COOKBOOK_STAGE}"/usr/bin
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/usr/share/webtorrent-cli
echo "cd /usr/share/webtorrent-cli \n npm run" > "${COOKBOOK_STAGE}"/usr/bin/webtorrent-cli
"""

View File

@ -0,0 +1,13 @@
#TODO not compiled or tested
# dependencies - https://github.com/yt-dlp/yt-dlp#dependencies
[source]
git = "https://github.com/yt-dlp/yt-dlp"
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}"/usr/share/yt-dlp
mkdir -pv "${COOKBOOK_STAGE}"/usr/bin
cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/usr/share/yt-dlp
echo "/usr/share/yt-dlp/yt-dlp.sh" > "${COOKBOOK_STAGE}"/usr/bin/yt-dlp
chmod a+x "${COOKBOOK_STAGE}"/usr/share/yt-dlp/yt-dlp.sh
"""

View File

@ -0,0 +1,5 @@
#TODO not compiled or tested
[source]
tar = "https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-4.0.4.tar.xz/download"
[build]
template = "configure"