[arch-commits] Commit in youtube-dl/repos/community-any (PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Fri Jul 19 01:50:09 UTC 2013
Date: Friday, July 19, 2013 @ 03:50:09
Author: eric
Revision: 94299
archrelease: copy trunk to community-any
Added:
youtube-dl/repos/community-any/PKGBUILD
(from rev 94298, youtube-dl/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: youtube-dl/repos/community-any/PKGBUILD (from rev 94298, youtube-dl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-07-19 01:50:09 UTC (rev 94299)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=youtube-dl
+pkgver=2013.07.18
+pkgrel=1
+pkgdesc="A small command-line program to download videos from YouTube.com and a few more sites"
+arch=('any')
+url="http://rg3.github.io/youtube-dl/"
+license=('custom')
+depends=('python')
+makedepends=('python-distribute')
+optdepends=('ffmpeg: for video post-processing')
+source=(http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha1sums=('79577ff3d1eb37b664be9cc544c79d341b8ec158'
+ 'SKIP')
+
+prepare() {
+ cd ${pkgname}
+ sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py
+}
+
+package() {
+ cd ${pkgname}
+ python setup.py install --root="${pkgdir}/" --optimize=1
+ mv "${pkgdir}/usr/share/bash-completion/completions/youtube-dl.bash-completion" \
+ "${pkgdir}/usr/share/bash-completion/completions/youtube-dl"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list