[pacman-dev] [patch] add support for scriptlets functions embedded in $BUILDSCRIPT

Travis Willard travis at archlinux.org
Thu Aug 2 18:47:11 EDT 2007

On Fri, 3 Aug 2007 00:39:38 +0200
VMiklos <vmiklos at frugalware.org> wrote:

> Hello,
> Na Thu, Aug 02, 2007 at 05:12:30PM -0500, Aaron Griffin
> <aaronmgriffin at gmail.com> pisal(a):
> > Does anyone have a problem with this? I think merging the files
> > could be beneficial in the long run.
> what do you plan to do with the pkgs seding the install file in
> build()?
> just keep them as is?
> - VMiklos

Along those lines, what about functions that reference a global
variable inside the PKGBUILD?  like:


post_install() {
  depmod -v $__KERNEL_VERSION > /dev/null 2>&1

I could see that specifically happening in kernel modules (which is
where a lot of the .install file sed-ding happens, and why I
remembered).  If those variables aren't there in the .INSTALL file, then


More information about the pacman-dev mailing list