From 6b8733ee1e82070d2961c54fb33b86136fffbd02 Mon Sep 17 00:00:00 2001 From: milisbir Date: Tue, 23 Jan 2018 05:07:45 +0200 Subject: [PATCH] webtorrent-desktop --- .../genel/w/webtorrent-desktop/talimat | 23 +++++++++++++ .../webtorrent-desktop.desktop | 33 +++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 talimatname/genel/w/webtorrent-desktop/talimat create mode 100644 talimatname/genel/w/webtorrent-desktop/webtorrent-desktop.desktop diff --git a/talimatname/genel/w/webtorrent-desktop/talimat b/talimatname/genel/w/webtorrent-desktop/talimat new file mode 100644 index 000000000..a98decbd9 --- /dev/null +++ b/talimatname/genel/w/webtorrent-desktop/talimat @@ -0,0 +1,23 @@ +# Tanım: Torrent istemci tarayıcısı +# URL: https://webtorrent.io/desktop +# Paketçi: Cihan_Alkan +# Gerekler: gconf +# Grup: ağ + +isim=webtorrent-desktop +surum=0.18.0 +devir=1 +kaynak=(https://github.com/feross/${isim}/releases/download/v${surum}/WebTorrent-v${surum}-linux.zip + ${isim}.desktop) + +derle() { + install -dm755 "${PKG}/usr/share" + install -dm755 "${PKG}/usr/bin" + + cp -a "WebTorrent-linux-x64" "${PKG}/usr/share/${isim}" + ln -s "/usr/share/${isim}/WebTorrent" "${PKG}/usr/bin/${isim}" + + install -Dm644 "${isim}.desktop" "${PKG}/usr/share/applications/${isim}.desktop" + install -Dm644 "WebTorrent-linux-x64/resources/app.asar.unpacked/static/WebTorrent.png" "${PKG}/usr/share/icons/hicolor/256x256/apps/${isim}.png" + install -Dm644 "WebTorrent-linux-x64/LICENSE" "${PKG}/usr/share/licenses/${isim}/LICENSE" +} diff --git a/talimatname/genel/w/webtorrent-desktop/webtorrent-desktop.desktop b/talimatname/genel/w/webtorrent-desktop/webtorrent-desktop.desktop new file mode 100644 index 000000000..8c010a542 --- /dev/null +++ b/talimatname/genel/w/webtorrent-desktop/webtorrent-desktop.desktop @@ -0,0 +1,33 @@ +[Desktop Entry] +Name=WebTorrent +Version=1.0 +GenericName=BitTorrent Client +X-GNOME-FullName=WebTorrent +Comment=BitTorrent üzerinden dosyaları indirin ve paylaşın +Encoding=UTF-8 +Type=Application +Icon=webtorrent-desktop +Terminal=false +Path=/usr/share/webtorrent-desktop +Exec=/usr/bin/webtorrent-desktop %U +TryExec=/usr/bin/webtorrent-desktop +StartupNotify=false +Categories=Network;FileTransfer;P2P; +MimeType=application/x-bittorrent;x-scheme-handler/magnet;x-scheme-handler/stream-magnet; + +Actions=CreateNewTorrent;OpenTorrentFile;OpenTorrentAddress; + +[Desktop Action CreateNewTorrent] +Name=Yeni Torrent Oluştur... +Exec=/usr/bin/webtorrent-desktop -n +Path=/usr/share/webtorrent-desktop + +[Desktop Action OpenTorrentFile] +Name=Torrent Dosyası Aç... +Exec=/usr/bin/webtorrent-desktop -o +Path=/usr/share/webtorrent-desktop + +[Desktop Action OpenTorrentAddress] +Name=Torrent Adresi Aç... +Exec=/usr/bin/webtorrent-desktop -u +Path=/usr/share/webtorrent-desktop