You are not logged in.

#1 2010-04-16 02:24:20

wriggary
Member
Registered: 2009-06-30
Posts: 65

proper pkgver= for git package

Hello everyone,

Thanks for your help on my last PKGBUILD for monkey(httpd).  The whole process makes a lot more sense now.

So, for another project, I wanted to make a pkgbuild for the git master for monkey at http://repo.or.cz/w/MonkeyD.git, so I copied over the PKGBUILD-git.proto and set to work.  Mostly the same as the regular PKGBUILD, but what should one use for the pkgver= on a git package?  Is using pkgver=`date +%G%m%d` acceptable, or should I just use the upload date?   What do the aur helper programs like to see when they do an update?

Thanks

Gary

Offline

#2 2010-04-16 02:39:53

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: proper pkgver= for git package

makepkg will set the current date as the pkgver at build time. To tag a pkgver on a PKGBUILD you're making, just run `makepkg --source`. This sets the pkgver and creates an AUR ready taurball for uploading.

Offline

Board footer

Powered by FluxBB