[pacman-dev] [PATCHES] Refreshed PKGBUILDs

Xavier shiningxc at gmail.com
Mon May 19 08:46:32 EDT 2008

On Mon, May 19, 2008 at 2:31 PM, Ray Rashif <schivmeister at gmail.com> wrote:
> However,
> there are packages like devel ones that need to edit $pkgver so $startdir
> will still be of use.

I don't understand what is the problem here.

But since you mentioned kernel26, I found one example there:
  # set correct depmod command for install
  sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g"

That is a hack, but it is practical :P
Maybe the scriptlet could be simply moved by makepkg to $srcdir like
the source files.

More information about the pacman-dev mailing list