youtube-dl: update to 2020.11.12, fix update check

This commit is contained in:
Andrew J. Hesford 2020-11-13 13:57:42 -05:00
parent a2b29931fe
commit b0e8e36daf
2 changed files with 5 additions and 6 deletions

View File

@ -1,8 +1,8 @@
# Template file for 'youtube-dl'
pkgname=youtube-dl
version=2020.11.01.1
version=2020.11.12
revision=1
wrksrc=youtube-dl
wrksrc="${pkgname}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
@ -12,8 +12,8 @@ maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
license="Unlicense"
homepage="https://yt-dl.org"
changelog="https://gitlab.com/dstftw/youtube-dl/-/raw/master/ChangeLog"
distfiles="https://yt-dl.org/downloads/${version}/${pkgname}-${version}.tar.gz"
checksum=7a62187bc9f91af42eb5c9c95652e350170a72dbbdac8c7d71a6aeb4885a901a
distfiles="${homepage}/downloads/latest/${pkgname}-${version}.tar.gz"
checksum=aeb00b2079c4711de7eea2a91f6923ebade84c5e985b0caeb47d572395d42831
do_check() {
PYTHON=/usr/bin/python3 make offlinetest

View File

@ -1,2 +1 @@
site="https://yt-dl.org/downloads/"
pattern="\d{4}\.\d{2}\.\d{2}"
pattern="${pkgname}-\K[0-9.]+(?=\.tar)"