xd-torrent.xb 708 B

12345678910111213141516171819
  1. program_name="xd-torrent"
  2. program_slug="xd-torrent"
  3. program_description="A BitTorrent client made for I2P network"
  4. version=""
  5. build_depends="go make"
  6. depends=""
  7. sources="https://github.com/majestrate/XD.git"
  8. tested_systems="freebsd"
  9. do_build() {
  10. cd XD
  11. ${gnumakebin} ${gnumakeparams}
  12. }
  13. do_install() {
  14. $subin ${gnumakebin} ${gnumakeparams} PREFIX="$usrdir" install
  15. [ "$?" -eq "0" ] && echo "$program_name has been installed successfully! CAUTION: Please use carefully because the content you download with XD may be illegal. You are responsible for your actions." || echo "$program_name has had some issues while installing. Please check for error messages on previous output to find out the problem."
  16. }