[arch-commits] Commit in youtube-dl/repos/community-any (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Sun Nov 1 04:43:12 UTC 2020


    Date: Sunday, November 1, 2020 @ 04:43:11
  Author: polyzen
Revision: 738178

archrelease: copy trunk to community-any

Added:
  youtube-dl/repos/community-any/PKGBUILD
    (from rev 738177, youtube-dl/trunk/PKGBUILD)
Deleted:
  youtube-dl/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   83 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-01 04:42:50 UTC (rev 738177)
+++ PKGBUILD	2020-11-01 04:43:11 UTC (rev 738178)
@@ -1,42 +0,0 @@
-# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Eric Bélanger <eric at archlinux.org>
-
-pkgname=youtube-dl
-pkgver=2020.09.20
-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/"
-license=('custom')
-depends=('python' 'python-setuptools')
-optdepends=('ffmpeg: for video post-processing'
-            '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=('ac1a799cf968345bf29089ed2e5c5d4f4a32031625d808369e61b6362d1c7cde'
-            'SKIP')
-validpgpkeys=('7D33D762FD6C35130481347FDB4B54CBA4826A18'  # Philipp Hagemeister
-              'ED7F5BF46B3BBED81C87368E2C393E0F18A9236D') # Sergey M.
-
-prepare() {
-  cd ${pkgname}
-  sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py
-  sed -i 's|etc/fish/completions|share/fish/vendor_completions.d|' setup.py
-}
-
-build() {
-  cd ${pkgname}
-  export PYTHONHASHSEED=0
-  python setup.py build
-}
-
-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"
-}

Copied: youtube-dl/repos/community-any/PKGBUILD (from rev 738177, youtube-dl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-01 04:43:11 UTC (rev 738178)
@@ -0,0 +1,41 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgname=youtube-dl
+pkgver=2020.11.01.1
+pkgrel=1
+pkgdesc="A command-line program to download videos from YouTube.com and a few more sites"
+arch=('any')
+url="https://youtube-dl.org"
+license=('custom')
+depends=('python' 'python-setuptools')
+optdepends=('ffmpeg: for video post-processing'
+            'rtmpdump: for rtmp streams support'
+            'atomicparsley: for embedding thumbnails into m4a files'
+            'python-pycryptodome: for hlsnative downloader')
+source=("${url}/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha256sums=('7a62187bc9f91af42eb5c9c95652e350170a72dbbdac8c7d71a6aeb4885a901a'
+            'SKIP')
+validpgpkeys=('ED7F5BF46B3BBED81C87368E2C393E0F18A9236D') # Sergey M.
+
+prepare() {
+  cd ${pkgname}
+  sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py
+  sed -i 's|etc/fish/completions|share/fish/vendor_completions.d|' setup.py
+}
+
+build() {
+  cd ${pkgname}
+  export PYTHONHASHSEED=0
+  python setup.py build
+}
+
+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"
+}



More information about the arch-commits mailing list