You are not logged in.

#1 2005-08-31 02:54:43

oggb4mp3
Member
Registered: 2005-06-17
Posts: 77

First Line of PKGBUILD

I have noticed when examining existing PKGBUILD files, for the purpose of learning how to create on, that the top line contains something like this:

# $Id: PKGBUILD,v 1.8 2005/06/06 02:38:02 kevin Exp $

It looks like this is created in some automated way, like by a build cluster or something.  So my question is, is this top line necessary is there info somewhere on what goes in there?

thanks

Offline

#2 2005-08-31 03:13:11

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: First Line of PKGBUILD

no, you don't need it. Its for cvs updating. When you run abs, it looks at that tag and determines whether it should be updated.

Offline

#3 2005-08-31 08:16:47

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

Re: First Line of PKGBUILD

Some non-development contributors to the AUR seem to think having it is a good idea in preparation for when it might be needed...it's auto generated when it is needed so I can't see how that makes any sense

Offline

#4 2005-08-31 13:46:50

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: First Line of PKGBUILD

$Id$ is a cvs expansion variable. CVS automatically expands this variable to include certain cvs information about the file under revision. It gets updated accordingly by cvs.

It is for human reference only. A quick way to see what verion the file you have is, without checking it against the cvs branch. ABS does not use this tag for checking if the file needs to be updated. It uses information stored in cvs, via rcs, and basically does a cvsup-style checkout.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#5 2005-08-31 13:53:22

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

Re: First Line of PKGBUILD

OT: Cactus - be a pal and help me out with this cvsup business would you? I'd be eternally grateful smile

Offline

#6 2005-08-31 13:57:24

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: First Line of PKGBUILD

OT: lol! Sure..as long as you dont make me talk about getting it to compile...modula3 *gasp*


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

Board footer

Powered by FluxBB