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

21 lines
743 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
# Gerekler: python python-setuptools
# Grup: medya
isim=youtube-dl
surum=2017.12.31
devir=1
kaynak=(https://github.com/rg3/youtube-dl/archive/$surum.tar.gz::${isim}-${surum}.tar.gz
https://github.com/rst0git/youtube-dl-mp3/raw/master/youtube-dl-mp3)
derle() {
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
install -Dm755 ../youtube-dl-mp3 "${PKG}/usr/bin/youtube-dl-mp3"
rm -rf $PKG/usr/share
}