diff options
author | Lartza | 2020-11-18 15:53:26 +0200 |
---|---|---|
committer | Lartza | 2020-11-18 15:53:26 +0200 |
commit | b7cd838e2443bc78683f80dc9bd0e52a1d894be5 (patch) | |
tree | 314670739d5aec0dc78fff1468aff650706afafa /PKGBUILD | |
parent | ae5d304861edd421820a924c62372e366cb83237 (diff) | |
download | aur-b7cd838e2443bc78683f80dc9bd0e52a1d894be5.tar.gz |
Original upstream, fix pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ pkgname=youtube-dl-git _gitname="youtube-dl" -pkgver=2020.11.12.r0.28f9568a8 +pkgver=2020.11.18.r3.g5c3f7014e pkgrel=1 pkgdesc="A small command-line program to download videos from YouTube.com and a few more sites (git version)" arch=('any') @@ -16,12 +16,12 @@ optdepends=('ffmpeg: for video post-processing' 'phantomjs: for openload support') provides=("youtube-dl") conflicts=("youtube-dl") -source=('git+https://gitlab.com/dstftw/youtube-dl.git') +source=('git+https://github.com/ytdl-org/youtube-dl.git') md5sums=('SKIP') pkgver() { cd $_gitname - printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { |