mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 12:15:06 +03:00
23 lines
554 B
YAML
23 lines
554 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
|
|
gnu.org/bash: '>=2' # for our venv/relocation scripts: feel free to fix that
|
|
|
|
build:
|
|
python-venv.sh {{prefix}}/bin/youtube-dl
|
|
|
|
test: |
|
|
youtube-dl --simulate https://youtu.be/pOtd1cbOP7k
|
|
|
|
provides:
|
|
- bin/youtube-dl
|