[aur-general] How to make a PKGBUILD for Kepler/Xavante?
Hi listmates, as I said in an earlier email in another thread, I always try to make a PKGBUILD for every piece of software I install. There's an exception though: the Lua webserver Xavante, which is part of the Kepler distribution (http://www.keplerproject.org/xavante/). I can set it up without Pacman that way: ftp://catwell.info/misc/arch/xavante/howto-setup.txt but I haven't found a way to make it work properly with makepkg. The problem is that the setup process run in a fakeroot leaves the string corresponding to $pkgdir in a lot of places in the resulting files, including binary files. I have tried to use sed on the resulting files but I didn't manage to get rid of it everywhere, neither to get a working package. Has somebody already given a try at packaging such an application, and are there examples of packages that deal with this kind of problem? Thanks, -- catwell
On Sun, Sep 27, 2009 at 20:30, Pierre Chapuis <catwell@archlinux.us> wrote:
The problem is that the setup process run in a fakeroot leaves the string corresponding to $pkgdir in a lot of places in the resulting files, including binary files. I have tried to use sed on the resulting files but I didn't manage to get rid of it everywhere, neither to get a working package.
Generally there will be some Makefile (or equivalent) variable that can be changed to make that work right. Any non-broken build system should support this.
Le Sun, 27 Sep 2009 20:57:58 -0400, Daenyth Blank <daenyth+arch@gmail.com> a écrit :
Generally there will be some Makefile (or equivalent) variable that can be changed to make that work right. Any non-broken build system should support this.
The problem is that the setup method for Kepler is a bit specific and doesn't use makefiles or such things. It's a shell script that can take a --prefix option, but that directory needs to be writable so it needs to be prefixed by $pkgdir/.
On Mon, Sep 28, 2009 at 15:23, Pierre Chapuis <catwell@archlinux.us> wrote:
Le Sun, 27 Sep 2009 20:57:58 -0400, The problem is that the setup method for Kepler is a bit specific and doesn't use makefiles or such things. It's a shell script that can take a --prefix option, but that directory needs to be writable so it needs to be prefixed by $pkgdir/.
I would patch the build script in this case.
participants (2)
-
Daenyth Blank
-
Pierre Chapuis