Re: [arch-general] Wrapper for yaourt and pacman

2013-07-15 Thread Ralf Mardorf
On Mon, 2013-07-15 at 00:13 -0300, Rafael Ferreira wrote: > To make PKGDEST work, set it in /etc/makepkg.conf and also change > /etc/yaourtrc in the following lines to what you want: > > # Build > #EXPORT=0 # Export to 1: EXPORTDIR or PKGDEST > # 2: pacman cache (a

Re: [arch-general] Wrapper for yaourt and pacman

2013-07-14 Thread Rafael Ferreira
Em 14/07/2013 22:12, Ralf Mardorf escreveu: No, PKGDEST in /etc/makepkg.conf won't help me. If I use yaourt PKGDEST is ignored, even if it wouldn't be ignored, I want to have a separated directory for linux-rt packages automatically. I don't want to run makepkg -s and pacman -U, with or without

Re: [arch-general] Wrapper for yaourt and pacman

2013-07-14 Thread Ralf Mardorf
On Sun, 2013-07-14 at 10:57 -0700, Chirantan Ekbote wrote: > Ralf Mardorf writes: > > FWIW I want to have a cache for AUR packages, like there is for the > > official packages in /var/cache/pacman/pkg, linux-rt packages should be > > stored to another directory. > > > > Take a look at SRCDEST, PK

Re: [arch-general] Wrapper for yaourt and pacman

2013-07-14 Thread Chirantan Ekbote
Hi Ralf, Ralf Mardorf writes: > Thank you Gaetan, thank you William, > > currently I have to manage 62 AUR packages, so using pacman only doesn't > provide what I need. I noticed that yaourt is a script, so I could take > a look at it, learn and include what I need to a wrapper for pacman, but >

Re: [arch-general] Wrapper for yaourt and pacman

2013-07-14 Thread Ralf Mardorf
Thank you Gaetan, thank you William, currently I have to manage 62 AUR packages, so using pacman only doesn't provide what I need. I noticed that yaourt is a script, so I could take a look at it, learn and include what I need to a wrapper for pacman, but I don't like to do it that way. You seem t

Re: [arch-general] Wrapper for yaourt and pacman

2013-07-13 Thread William Giokas
On Sat, Jul 13, 2013 at 11:16:25PM +0200, Ralf Mardorf wrote: > Hi, > > to write a wrapper for yaourt, e.g. "yaourt -Syua" and pacman e.g. > "pacman -Syu" I need to redirect the output to a variable, since I need > to know the packages. First off, I'm not a huge fan of yaourt, and would advise ag

Re: [arch-general] Wrapper for yaourt and pacman

2013-07-13 Thread Gaetan Bisson
[2013-07-13 23:16:25 +0200] Ralf Mardorf: > i=`pacman -Syu` does work, $i contains all packages Just use: `pacman -Syu --print --print-format %n` > How can I get a package list of the output "-Syua"? > > Btw. is there a way to get a cache for yaourt that isn't located > in /tmp? if not, then th

[arch-general] Wrapper for yaourt and pacman

2013-07-13 Thread Ralf Mardorf
Hi, to write a wrapper for yaourt, e.g. "yaourt -Syua" and pacman e.g. "pacman -Syu" I need to redirect the output to a variable, since I need to know the packages. i=`yaourt -Syua` doesn't work, $i only contains the last package i=`pacman -Syu` does work, $i contains all packages How can I get