[arch-commits] Commit in youtube-dl/repos/community-any (PKGBUILD PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Tue Dec 29 12:52:03 UTC 2020
Date: Tuesday, December 29, 2020 @ 12:52:01
Author: jlichtblau
Revision: 797013
archrelease: copy trunk to community-any
Added:
youtube-dl/repos/community-any/PKGBUILD
(from rev 797012, youtube-dl/trunk/PKGBUILD)
Deleted:
youtube-dl/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-29 12:51:45 UTC (rev 797012)
+++ PKGBUILD 2020-12-29 12:52:01 UTC (rev 797013)
@@ -1,41 +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.12.26
-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://github.com/ytdl-org/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig})
-sha256sums=('9e3b4188067a19c3a96798577d0b252c74ddb16cf1decffde9cb3c4c22cb0ecf'
- '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 797012, youtube-dl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-29 12:52:01 UTC (rev 797013)
@@ -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.12.29
+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://github.com/ytdl-org/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha256sums=('6b2dbadb044f8673ce5afb1a0d50a01e4ab1562cf46b7c1d3557b3615c1d99c1'
+ '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
+}
More information about the arch-commits
mailing list