2014-04-09 18:51:00 +10:00
|
|
|
# Description: A command-line program to download videos from YouTube.com and a few more sites.
|
2017-01-31 20:03:05 +11:00
|
|
|
# URL: https://rg3.github.io/youtube-dl/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2017-02-05 16:32:37 +11:00
|
|
|
# Depends on: python-setuptools
|
2014-04-09 18:51:00 +10:00
|
|
|
|
|
|
|
name=youtube-dl
|
2017-12-24 19:53:34 +11:00
|
|
|
version=2017.12.23
|
2014-04-09 18:51:00 +10:00
|
|
|
release=1
|
2017-01-31 20:03:05 +11:00
|
|
|
source=(https://youtube-dl.org/downloads/$version/$name-$version.tar.gz)
|
2014-04-09 18:51:00 +10:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name
|
2017-01-31 20:03:05 +11:00
|
|
|
/usr/bin/python setup.py build
|
|
|
|
/usr/bin/python setup.py install --root=$PKG --optimize=1
|
2016-02-16 21:50:41 +11:00
|
|
|
rm -r $PKG/usr/share/doc
|
2014-04-09 18:51:00 +10:00
|
|
|
}
|