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