wok-6.x annotate youtube-dl/receipt @ rev 25510
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 20:36:56 2023 +0000 (21 months ago) |
parents | 922f061231c2 |
children |
rev | line source |
---|---|
gokhlayeh@8882 | 1 # SliTaz package receipt. |
gokhlayeh@8882 | 2 |
gokhlayeh@8882 | 3 PACKAGE="youtube-dl" |
Hans-G?nter@23790 | 4 VERSION="2020.05.08" |
gokhlayeh@8882 | 5 CATEGORY="utilities" |
gokhlayeh@8882 | 6 SHORT_DESC="Downloads videos from various streaming websites." |
gokhlayeh@8882 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15362 | 8 LICENSE="MIT" |
pascal@24746 | 9 WEB_SITE="https://rg3.github.io/youtube-dl/" |
Hans-G?nter@22324 | 10 |
pascal@20450 | 11 TARBALL="$PACKAGE-${VERSION//./-}" |
devl547@16288 | 12 WGET_URL="https://yt-dl.org/downloads/$VERSION/youtube-dl" |
gokhlayeh@8882 | 13 |
slaxemulator@10359 | 14 DEPENDS="python" |
Hans-G?nter@22324 | 15 BUILD_DEPENDS="python" |
devl547@16288 | 16 |
pascal@24304 | 17 # What is the latest version available today? |
pascal@24304 | 18 current_version() |
pascal@24304 | 19 { |
pascal@24304 | 20 wget -O - https://pypi.org/project/youtube_dl/ 2>/dev/null | \ |
pascal@24304 | 21 sed '/youtube_dl 2/!d;s|.*dl ||;q' |
pascal@24304 | 22 } |
pascal@24304 | 23 |
gokhlayeh@8882 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@8882 | 25 genpkg_rules() |
gokhlayeh@8882 | 26 { |
slaxemulator@11122 | 27 mkdir -p $fs/usr/bin |
Hans-G?nter@23790 | 28 |
Hans-G?nter@23790 | 29 cp $src/$TARBALL $fs/usr/bin/$PACKAGE |
Hans-G?nter@23790 | 30 chmod +x $fs/usr/bin/$PACKAGE |
pankso@9802 | 31 } |