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

24 lines
996 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: WxPython'da yazılmış popüler youtube-dl nin çapraz platform arayüzü
# URL: https://github.com/MrS0m30n3/youtube-dl-gui
# Paketçi: Cihan_Alkan
# Gerekler: python wxpython pytwodict gtk-update-icon-cache ffmpeg youtube-dl
# Grup: medya
isim=youtube-dl-gui
surum=0.4
devir=1
kaynak=(https://github.com/MrS0m30n3/youtube-dl-gui/archive/0.4.tar.gz::$isim-$surum.tar.gz
youtube-dl-gui.desktop
youtube_dl_gui.po)
derle() {
cd $isim-$surum
# ed ile
#printf '%s\n' '/LOCAL_NAMES/a' " ('tr_TR', 'Turkish')," . w | ed -s optionsframe.py
sed -i -e '/LOCALE_NAMES/a \' -e " ('tr_TR', 'Turkish')," youtube_dl_gui//optionsframe.py
install -Dm644 ../youtube_dl_gui.po $SRC/$isim-$surum/youtube_dl_gui/locale/tr_TR/LC_MESSAGES/youtube_dl_gui.po
install -Dm644 ../youtube-dl-gui.desktop "$PKG/usr/share/applications/youtube-dl-gui.desktop"
install -Dm644 LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
python setup.py install --root="$PKG" --optimize=1
}