milis/talimatname/genel/y/youtube-viewer/talimat
2018-06-09 00:06:58 +02:00

19 lines
821 B
Text
Raw Permalink 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 videolarını izlemek için komut satırı yardımcı programı
# URL: https://github.com/trizen/youtube-viewer
# Paketçi: Cihan_Alkan
# Gerekler: perl-data-dump perl-json perl-lwp-protocol-https perl-libwww perl-module-build gtk2-perl perl-try-tiny perl-class-inspector perl-file-sharedir
# Grup: medya
isim=youtube-viewer
surum=3.3.3
devir=1
kaynak=(https://github.com/trizen/youtube-viewer/archive/3.3.3.tar.gz::$isim-$surum.tar.gz)
derle() {
cd "$isim-$surum"
perl Build.PL --destdir "$PKG" --installdirs vendor --gtk
./Build install --install_path script=/usr/bin
install -Dm 644 "$SRC/gtk-youtube-viewer.desktop" "$PKG/usr/share/applications/gtk-youtube-viewer.desktop"
install -Dm 644 "share/icons/gtk-youtube-viewer.png" "$PKG/usr/share/pixmaps/gtk-youtube-viewer.png"
}