talimat 834 B

123456789101112131415161718192021222324
  1. # Tanım: Torrent istemci tarayıcısı
  2. # URL: https://webtorrent.io/desktop
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: gconf
  5. # Grup: ağ
  6. isim=webtorrent-desktop
  7. surum=0.18.0
  8. devir=1
  9. kaynak=(https://github.com/feross/${isim}/releases/download/v${surum}/WebTorrent-v${surum}-linux.zip
  10. ${isim}.desktop)
  11. derle() {
  12. install -dm755 "${PKG}/usr/share"
  13. install -dm755 "${PKG}/usr/bin"
  14. cp -a "WebTorrent-linux-x64" "${PKG}/usr/share/${isim}"
  15. ln -s "/usr/share/${isim}/WebTorrent" "${PKG}/usr/bin/${isim}"
  16. install -Dm644 "${isim}.desktop" "${PKG}/usr/share/applications/${isim}.desktop"
  17. install -Dm644 "WebTorrent-linux-x64/resources/app.asar.unpacked/static/WebTorrent.png" "${PKG}/usr/share/icons/hicolor/256x256/apps/${isim}.png"
  18. install -Dm644 "WebTorrent-linux-x64/LICENSE" "${PKG}/usr/share/licenses/${isim}/LICENSE"
  19. }