Is it possible to use the magnet uri scheme in PKGBUILDs?

Is it possible to use resources exchanged with the BitTorrent protocol in pacman‘s PKGBUILDs?

Asked By: Scrooge McDuck

||

Yes.

You just need to specify a magnet uri scheme download agent like transmission-makepkg in the makepkg configuration file:

/etc/makepkg.conf
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
DLAGENTS+=('magnet::/usr/bin/transmission-makepkg %u %o')
Answered By: Scrooge McDuck