You are not logged in.

#1 2010-04-01 02:55:20

Arch Villain
Member
Registered: 2010-04-01
Posts: 7
Website

What version number to always compile latest code from trunk with ABS?

Hi there,

I want to do a daily ABS recompile of a project I'd like to help.

I've read a bunch of the wiki/forum links on using ABS , but they all seem to reference changing the version number in the PKGBUILD to the version you want. I'm wondering if there is a way (version=0? version=9999999999999?) to tell ABS to always use the very latest code in trunk, whatever version number that is.

I guess, really I'm looking for the ABS / Pacman version of "svn up && ./configure && make && make install"

Any ideas?

Thanks!


Krita - Free and Open Source Digital Painting and Sketching Powered by KDE

Offline

#2 2010-04-01 03:08:27

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 858
Website

Re: What version number to always compile latest code from trunk with ABS?

Well if you're compiling an svn/git/darcs/mercurial/etc. package, makepkg already does that for you.  If you're compiling a package from a tarball, there isn't a way to do that automatically, so you'll have to it yourself.  The AUR has -git/-svn/-whatever versions of most common packages if you want.

Offline

#3 2010-04-01 03:28:13

Arch Villain
Member
Registered: 2010-04-01
Posts: 7
Website

Re: What version number to always compile latest code from trunk with ABS?

Ah, ok.  I think I'm starting to get this... So I'd just go into my directory with the PKGBUILD and do makepkg again to update and recompile before installing the newly updated with Pacman then?

Hang on... if pkgver isn't manually changed, wouldn't makepkg just download and recompile the same (old) code?

Last edited by Arch Villain (2010-04-01 03:36:32)


Krita - Free and Open Source Digital Painting and Sketching Powered by KDE

Offline

#4 2010-04-01 03:45:09

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: What version number to always compile latest code from trunk with ABS?

No, makepkg changes the pkgver automatically for you on a svn package and pulls the latest branch.

Last edited by Acecero (2010-04-01 03:46:52)

Offline

#5 2010-04-01 04:35:13

Arch Villain
Member
Registered: 2010-04-01
Posts: 7
Website

Re: What version number to always compile latest code from trunk with ABS?

Sweet! Thanks. That clears up a thing or two...


Krita - Free and Open Source Digital Painting and Sketching Powered by KDE

Offline

Board footer

Powered by FluxBB