[arch-commits] Commit in youtube-dl/trunk (PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Thu Dec 3 21:09:05 UTC 2020


    Date: Thursday, December 3, 2020 @ 21:09:05
  Author: polyzen
Revision: 769807

upgpkg: youtube-dl 2020.12.02-1

- Fetch sources directly (skip redirects)

- Normalize $pkgname usage

Modified:
  youtube-dl/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-03 21:03:34 UTC (rev 769806)
+++ PKGBUILD	2020-12-03 21:09:05 UTC (rev 769807)
@@ -3,8 +3,8 @@
 # Contributor: Eric Bélanger <eric at archlinux.org>
 
 pkgname=youtube-dl
-pkgver=2020.11.29
-pkgrel=2
+pkgver=2020.12.02
+pkgrel=1
 pkgdesc="A command-line program to download videos from YouTube.com and a few more sites"
 arch=('any')
 url="https://ytdl-org.github.io/youtube-dl/"
@@ -14,10 +14,10 @@
             'rtmpdump: for rtmp streams support'
             'atomicparsley: for embedding thumbnails into m4a files'
             'python-pycryptodome: for hlsnative downloader')
-source=("https://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig})
-sha256sums=('e628be8603d28f765566435dde253bcdc22535c120a07260fb9470a92d2ffd82'
+source=("https://github.com/ytdl-org/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha256sums=('7161b2e3f3c09ade59fb6e3a4160a224a3b04e39c7744e14cd9f361f71a57a72'
             'SKIP')
-validpgpkeys=('ED7F5BF46B3BBED81C87368E2C393E0F18A9236D') # Sergey M.
+validpgpkeys=('ED7F5BF46B3BBED81C87368E2C393E0F18A9236D') # Sergey M. <dstftw at gmail.com>
 
 prepare() {
   cd ${pkgname}
@@ -34,8 +34,8 @@
 package() {
   cd ${pkgname}
   python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
-  mv "${pkgdir}/usr/share/bash-completion/completions/youtube-dl.bash-completion" \
-     "${pkgdir}/usr/share/bash-completion/completions/youtube-dl"
-  install -Dm644 youtube-dl.zsh "${pkgdir}/usr/share/zsh/site-functions/_youtube-dl"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  mv "${pkgdir}/usr/share/bash-completion/completions/${pkgname}.bash-completion" \
+     "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
+  install -Dm644 ${pkgname}.zsh "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+  install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
 }



More information about the arch-commits mailing list