2014-05-21 09:33:36 +08:00
|
|
|
# Maintainer: Jeff Huang <s8321414[at]gmail[dot]com>
|
2014-04-20 07:08:24 +08:00
|
|
|
# maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
|
|
|
|
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
|
2010-09-09 11:04:13 +08:00
|
|
|
|
|
|
|
pkgname=youtube-dl
|
2014-06-20 18:22:13 +08:00
|
|
|
pkgver=2014.06.19
|
2011-01-31 23:10:08 +08:00
|
|
|
pkgrel=1
|
2010-09-09 11:04:13 +08:00
|
|
|
pkgdesc='A small command-line program to download videos from YouTube.com'
|
2012-11-28 03:01:13 +08:00
|
|
|
arch=('x86_64')
|
2011-04-01 00:09:18 +08:00
|
|
|
url='http://rg3.github.com/youtube-dl/'
|
2011-08-05 07:09:20 +08:00
|
|
|
license=('custom')
|
2014-04-20 07:08:24 +08:00
|
|
|
depends=('python3' 'python3-setuptools')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('network')
|
2014-04-20 07:08:24 +08:00
|
|
|
source=(http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz
|
|
|
|
http://youtube-dl.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.gz.sig)
|
2014-06-20 18:22:13 +08:00
|
|
|
sha1sums=('34c2d31ff388a0b2e8905b40c2189596928ad761'
|
2014-04-20 07:08:24 +08:00
|
|
|
'SKIP')
|
2010-09-09 11:04:13 +08:00
|
|
|
|
2011-08-05 07:09:20 +08:00
|
|
|
package() {
|
2013-01-10 00:14:04 +08:00
|
|
|
cd "${srcdir}/${pkgname}"
|
|
|
|
sed -i -e 's|etc/bash_completion.d|share/bash-completion/completions|' \
|
|
|
|
-e 's|youtube-dl.bash-completion|youtube-dl|' setup.py
|
2014-04-20 07:08:24 +08:00
|
|
|
python3 setup.py install --root="${pkgdir}/" --optimize=1
|
2013-01-10 00:14:04 +08:00
|
|
|
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
2013-07-30 17:14:06 +08:00
|
|
|
}
|