pantry/projects/youtube-dl.org/package.yml
Max Howell e74ac09899 +pipx
2023-02-14 15:24:05 -05:00

23 lines
474 B
YAML

distributable:
url: https://github.com/ytdl-org/youtube-dl/releases/download/{{version}}/youtube-dl-{{version}}.tar.gz
strip-components: 1
#NOTE copy-pasta from mesonbuild.com
#TODO make a brewkit/ script to do this automatically
versions:
github: ytdl-org/youtube-dl
strip: /^youtube-dl /
dependencies:
python.org: 3
build:
python-venv.sh {{prefix}}/bin/youtube-dl
test: |
youtube-dl --simulate https://youtu.be/pOtd1cbOP7k
provides:
- bin/youtube-dl