milis/talimatname/genel/y/youtube-dl/talimat

21 lines
743 B
Plaintext
Raw Normal View History

2018-01-03 17:21:48 +01:00
# Tanım: YouTube.com'dan ve birkaç başka siteden videolar indirmek için küçük bir program
# URL: http://rg3.github.io/youtube-dl/
# Paketçi: Cihan_Alkan
2018-01-03 18:05:21 +01:00
# Gerekler: python python-setuptools
2018-01-03 17:21:48 +01:00
# Grup: medya
isim=youtube-dl
surum=2017.12.31
devir=1
2018-01-03 18:05:21 +01:00
kaynak=(https://github.com/rg3/youtube-dl/archive/$surum.tar.gz::${isim}-${surum}.tar.gz
2018-01-03 17:21:48 +01:00
https://github.com/rst0git/youtube-dl-mp3/raw/master/youtube-dl-mp3)
derle() {
2018-01-03 18:05:21 +01:00
cd youtube-dl-$surum
sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py
sed -i 's|etc/fish/completions|share/fish/completions|' setup.py
python setup.py install --root="${PKG}/" --optimize=1
2018-01-03 17:21:48 +01:00
install -Dm755 ../youtube-dl-mp3 "${PKG}/usr/bin/youtube-dl-mp3"
2018-01-03 18:05:21 +01:00
rm -rf $PKG/usr/share
2018-01-03 17:21:48 +01:00
}