You are not logged in.

#1 2006-12-01 18:58:43

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

To all PKGBUILDers

Hey everyone,
I just wanted to let you all know that the current "development" makepkg checks for the existance of an 'arch' variable before building the package.  Please, if you can, begin adding 'arch=(i686)' to your PKGBUILDs (unless you've tested it on other architectures, too).

example:

arch=(i686 x86_64)

Offline

#2 2006-12-01 21:05:21

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: To all PKGBUILDers

any more documentation on this? like does leaving x86_64 out mean that it won't build on a 64bit system?

Offline

#3 2006-12-01 21:14:19

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: To all PKGBUILDers

Well, basically it's just a guideline.  The way the arch repos do it is that the Arch64 guys come through later, build it, then tack x86_64 onto the end assuming success.
Think of it as a little "hey it builds and works on this architecture" check.  Like md5sums, they can be ignored at buildtime, but it is "good practice" to notate the architectures.

Offline

#4 2006-12-01 21:25:04

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: To all PKGBUILDers

gotcha. last question: does this require a bump to pkgrel?

Offline

#5 2006-12-01 21:46:31

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: To all PKGBUILDers

no. right now it is only for makepkg (much like md5sums), so a new package will be identical to the old.

edit: and also, this isn't released just yet - you have lots of time 8)

Offline

#6 2007-02-04 06:57:51

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: To all PKGBUILDers

Sticky!

Offline

#7 2007-02-12 18:47:54

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: To all PKGBUILDers

Erm, will the example PKGBUILD in ABS be update with the arch=(i686) as default?

Offline

#8 2007-02-12 19:34:21

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: To all PKGBUILDers

Yes, PKGBUILD.proto will be updated with new changes from makepkg.

Offline

#9 2007-02-13 02:44:53

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: To all PKGBUILDers

Will makepkg3 and pacman3-style packages install fine with pacman ( old ) ?  Or should I just update the PKGBUILD's, and then rebuild close to pacman3 release?

Offline

#10 2007-02-13 08:12:55

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: To all PKGBUILDers

they'll install no problems. The arch=() variable has been in a lot of repository packages for a while.

James

Offline

#11 2007-02-13 16:25:46

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: To all PKGBUILDers

codemac wrote:

Will makepkg3 and pacman3-style packages install fine with pacman ( old ) ?  Or should I just update the PKGBUILD's, and then rebuild close to pacman3 release?

I wouldn't built official packages with the new makepkg just yet.  They _should_ work, in theory, and you'd have to rename them to remove the -ARCH suffix, but I don't know about pushing real repo packages built like that just yet.

Maybe test it out on a custom repo for a bit?

Offline

Board footer

Powered by FluxBB