You are not logged in.

#1 2011-07-02 12:52:21

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Airpac revised

Hello,

I was trying airpac but it doesn't work with python 3, therefore I've done a substitute
This program will work as airpac with the following conditions:
Installing aria2-git
configuring in pacman.conf the line
XferCommand = /where/is/the/program.py %u %o --single

The second chance is to use it as stand-alone, then it will download all the packages in the cache and subsequently just run pacman -Su

More effective with big packages or if above some 10 Mb of download for usual 2 Mbit/s modem connection.

Both methods sharing a portion of the same code.
Thank to Xyne for the ideas shown in his program. Also thanks to T.Tujikawa (aria2 author) that gave me some particular help.


do it good first, it will be faster than do it twice the saint wink

Offline

#2 2011-09-05 08:23:36

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Re: Airpac revised

I've an update, but I don't know where to load it and arrange for AUR publishing.


do it good first, it will be faster than do it twice the saint wink

Offline

#3 2011-09-05 13:15:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Airpac revised

TheSaint wrote:

I've an update, but I don't know where to load it and arrange for AUR publishing.

You mean you want to put int in the AUR?
https://wiki.archlinux.org/index.php/AU … g_packages

Offline

#4 2011-09-05 21:16:19

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Re: Airpac revised

I'm short in knowledge to do that.
My opinion was that the file(s) should be placed some where to download and the PKGBUILD will download it and do the setup,
I don't know whether archlinux.org will host the file(s).
My program is just a simple python script and may use the setup toolkit for the installation, or the install script inside the PKGBUILD
Basically it will take to copy it into environment path and proper permissions to run it. I'm going to study some other PKGBUILD smile


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB