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

24 lines
993 B
Plaintext
Raw Normal View History

2018-01-03 19:44:10 +01:00
# 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
2018-01-03 21:43:08 +01:00
youtube-dl-gui.desktop
youtube_dl_gui.po)
2018-01-03 19:44:10 +01:00
derle() {
cd $isim-$surum
2018-01-03 23:03:23 +01:00
# ed ile
#printf '%s\n' '/LOCAL_NAMES/a' " ('tr_TR', 'Turkish')," . w | ed -s optionsframe.py
2018-01-03 23:07:05 +01:00
sed -e '/LOCALE_NAMES/a \' -e " ('tr_TR', 'Turkish')," youtube_dl_gui//optionsframe.py
2018-01-03 21:43:08 +01:00
install -Dm644 ../youtube_dl_gui.po $SRC/$isim-$surum/youtube_dl_gui/locale/tr_TR/LC_MESSAGES/youtube_dl_gui.po
2018-01-03 19:44:10 +01:00
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
}