You are not logged in.

#1 2011-03-08 18:44:54

Willie Green
Member
Registered: 2009-06-12
Posts: 70

ABS Build Directory and makepkg.conf (Solved)

OK, so I'm doing a completely fresh Arch installation (on a Compaq Evo D510 e-pc, 1.7MHz, 256Mb RAM, 15 Gb HD), only this time with the intent of downloading and compiling PKGBUILDS.

So the ABS Wiki suggests to make a build directory: ~/abs

BUT makepkg.conf seems to imply that I need to create 3 other directories:
PKGDEST=/home/packages
SRCDEST=/home/sources
SRCPKGDEST=/home/srcpackages

So the clarification I need is, should I rename 1 of these 3 directories to be the same as ~/abs?
Or is it best to have a total of 4 different subdirectories?

Last edited by Willie Green (2011-03-09 00:17:35)


"Some people march to a different drummer - and some people polka"

Offline

#2 2011-03-08 21:10:42

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: ABS Build Directory and makepkg.conf (Solved)

You can do what you want.  Those are just suggestions.

Offline

#3 2011-03-08 21:41:16

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: ABS Build Directory and makepkg.conf (Solved)

"PKGDEST=" is the destination of the compiled binary.  I've been sticking my builds in ~/ABS for a little while now, with the intent on creating a little backup repository in case of severe borkage.  By default, the binary just stays in the build directory.  You can do whatever you want with the source; I just toss it, since it's easily available if needed later.

Offline

#4 2011-03-08 22:02:19

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: ABS Build Directory and makepkg.conf (Solved)

You do not need to change PKGDEST/SRCDEST/SRCPKGDEST  to build in ~/abs  (or anywhere else for that matter.)
cd ~/abs && ABSROOT="." abs repo/whatever && cd whatever && do whatever you want to the PKGBUILD etc  && makepkg -sc

Last edited by Mr.Elendig (2011-03-08 22:03:16)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2011-03-09 00:15:53

Willie Green
Member
Registered: 2009-06-12
Posts: 70

Re: ABS Build Directory and makepkg.conf (Solved)

ANOKNUSA wrote:

"PKGDEST=" is the destination of the compiled binary.  I've been sticking my builds in ~/ABS for a little while now, with the intent on creating a little backup repository in case of severe borkage.  By default, the binary just stays in the build directory.  You can do whatever you want with the source; I just toss it, since it's easily available if needed later.


Aha!!!  So the "destination" subdirectories are NOT the same thing as the ~/abs build directory....
It makes sense to me now.....
I don't know why I was suffering from a brainfog before.
/forehead-slap

Thanks for the responses,
I'll try very hard to not be so dense in the future.


"Some people march to a different drummer - and some people polka"

Offline

Board footer

Powered by FluxBB