On 25/06/10 06:14, Xavier Chantry wrote:
On Mon, Jun 14, 2010 at 3:41 PM, Allan McRae<allan@archlinux.org> wrote:
==> ERROR: PKGBUILD does not exist.
What is a PKGBUILD? There are heaps of links in "man makepkg" to a PKGBUILD man page so...
allan@mugen ~
man PKGBUILD
Now, that does not say where to find the prototypes, but I think it is the PKGBUILD man page that should be adjusted. It also should be adjusted to remove reference to Arch. But it does provide examples.
Also, the directory /usr/share/pacman is configurable, so should not be hard coded.
I just see now that my git tree is dirty with a previous version of that patch. So NAK on the makepkg part but the pacman one is fine ?
I think Nico put enough effort with many resubmits already, and the idea is not bad, so I can just pick the pacman part of the last patch and push that to my tree, if that's ok.
From memory, the examples added to the pacman man page seemed reasonable. I'm too lazy to find that last patch version but make sure there is a "pacman -Syu <pkg>" in there and go for it. Allan