contrib/youtube-dl/Pkgfile

17 lines
491 B
Plaintext
Raw Normal View History

2014-04-09 10:51:00 +02:00
# Description: A command-line program to download videos from YouTube.com and a few more sites.
2016-06-29 04:55:18 +02:00
# URL: http://rg3.github.io/youtube-dl/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Danny Rawlins, crux at romster dot me
2014-04-09 10:51:00 +02:00
# Depends on: setuptools
name=youtube-dl
2016-12-16 05:39:51 +01:00
version=2016.12.15
2014-04-09 10:51:00 +02:00
release=1
source=(http://youtube-dl.org/downloads/$version/$name-$version.tar.gz)
build() {
cd $name
/usr/bin/python setup.py install --root="$PKG" --optimize=1
2016-02-16 11:50:41 +01:00
rm -r $PKG/usr/share/doc
2014-04-09 10:51:00 +02:00
}