youtube-dl: update to 2020.11.12, fix update check
This commit is contained in:
parent
a2b29931fe
commit
b0e8e36daf
2 changed files with 5 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'youtube-dl'
|
# Template file for 'youtube-dl'
|
||||||
pkgname=youtube-dl
|
pkgname=youtube-dl
|
||||||
version=2020.11.01.1
|
version=2020.11.12
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc=youtube-dl
|
wrksrc="${pkgname}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-setuptools"
|
depends="python3-setuptools"
|
||||||
|
@ -12,8 +12,8 @@ maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
|
||||||
license="Unlicense"
|
license="Unlicense"
|
||||||
homepage="https://yt-dl.org"
|
homepage="https://yt-dl.org"
|
||||||
changelog="https://gitlab.com/dstftw/youtube-dl/-/raw/master/ChangeLog"
|
changelog="https://gitlab.com/dstftw/youtube-dl/-/raw/master/ChangeLog"
|
||||||
distfiles="https://yt-dl.org/downloads/${version}/${pkgname}-${version}.tar.gz"
|
distfiles="${homepage}/downloads/latest/${pkgname}-${version}.tar.gz"
|
||||||
checksum=7a62187bc9f91af42eb5c9c95652e350170a72dbbdac8c7d71a6aeb4885a901a
|
checksum=aeb00b2079c4711de7eea2a91f6923ebade84c5e985b0caeb47d572395d42831
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
PYTHON=/usr/bin/python3 make offlinetest
|
PYTHON=/usr/bin/python3 make offlinetest
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
site="https://yt-dl.org/downloads/"
|
pattern="${pkgname}-\K[0-9.]+(?=\.tar)"
|
||||||
pattern="\d{4}\.\d{2}\.\d{2}"
|
|
||||||
|
|
Loading…
Reference in a new issue