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

Daniel M. Capella polyzen at archlinux.org
Wed Feb 10 23:21:46 UTC 2021


    Date: Wednesday, February 10, 2021 @ 23:21:46
  Author: polyzen
Revision: 854566

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-10 23:21:27 UTC (rev 854565)
+++ PKGBUILD	2021-02-10 23:21:46 UTC (rev 854566)
@@ -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=2021.02.04.1
-pkgrel=2
-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')
-makedepends=('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://github.com/ytdl-org/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig})
-sha256sums=('0a4b3865ab0471d26c5977f1390b555e4e222c1cfff5bed9e2f52fd128bdc866'
-            'SKIP')
-validpgpkeys=('ED7F5BF46B3BBED81C87368E2C393E0F18A9236D') # Sergey M. <dstftw at gmail.com>
-
-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/${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
-}

Copied: youtube-dl/repos/community-any/PKGBUILD (from rev 854565, youtube-dl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-10 23:21:46 UTC (rev 854566)
@@ -0,0 +1,42 @@
+# 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=2021.02.10
+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')
+makedepends=('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://github.com/ytdl-org/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha256sums=('d607adf66b7047865733f7d05af9478118ee4dd974ef9f971563e11de7f29122'
+            'SKIP')
+validpgpkeys=('ED7F5BF46B3BBED81C87368E2C393E0F18A9236D') # Sergey M. <dstftw at gmail.com>
+
+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}
+  python setup.py build
+}
+
+package() {
+  cd ${pkgname}
+  export PYTHONHASHSEED=0
+  python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+  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