[aur-general] pacman4.1 PKGBUILD-git help needed
danielwallace at gtmanfred.com
Mon Apr 8 16:04:35 EDT 2013
On Mon, Apr 08, 2013 at 09:10:18PM +0200, Rob Til Freedmen wrote:
> I've received a comment this morning from
> gtmanfred wrote:
> pacman 4.1 supporst git
> also, patches should be in the prepare() function'
> I didn't found an updated PKGBUILD-git.proto nor an example of prepare()
> for patches.
> All I had was an example from the VCS_PKGBUILD_Guidelines to convert
> PKGBUILD to pacman4.1 standards
> Alas, makepkg throws an error;
> ==> Retrieving sources...
> ==> ERROR: /src/argotlunar-git/argotlunar is not a clone of git://
> What do I missing?
> Any advice are welcome!
it works fine here, I would also change the pkgver to something more
specific than the date of the last commit, as there are probably more
than one each day
if a packages doesn't use tags, i have been using
<number of commits>.<last short commit>
echo $(git rev-list --count master).$(git rev-parse --short master)
(if you use one of the fragment things for your source=() url like
#branch=working or something, you need to change master to makepkg)
Also note that 5 lines in your .patch files have whitespace at the end
of the lines.
Archlinux Trusted User (gtmanfred)
Georgia Institute of Technology
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the aur-general