webtorrent-desktop
This commit is contained in:
parent
8c46659d06
commit
6b8733ee1e
|
@ -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"
|
||||||
|
}
|
|
@ -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
|
Loading…
Reference in New Issue