23 lines
617 B
Plaintext
23 lines
617 B
Plaintext
# Description: A command-line program to download videos from YouTube.com and a few more sites.
|
|
# URL: https://rg3.github.io/youtube-dl/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: python
|
|
# Optional: python-setuptools
|
|
|
|
name=youtube-dl
|
|
version=2018.07.21
|
|
release=1
|
|
source=(https://youtube-dl.org/downloads/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name
|
|
/usr/bin/python setup.py build
|
|
/usr/bin/python setup.py install --root=$PKG --optimize=1
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
|
|
find $PKG/usr/lib/python*/site-packages/ -maxdepth 1 -type f \
|
|
-name "youtube_dl-$version-py*.egg-info" -delete
|
|
|
|
}
|