Why the PKGBUILD gets a lilte bit "messy" is to treat an "unamed" kernel. The rest is only adding "${_kernname}" at the end of "kernel26"...

I also use the stock kernel on my main laptop, but I compile my own for other machines. I also sometimes try some patches which are not yet included.

I opened a bug report at http://bugs.archlinux.org/task/12384

2008/12/8 Aaron Griffin <aaronmgriffin@gmail.com>
On Sun, Dec 7, 2008 at 5:47 PM, Daenyth Blank <daenyth+arch@gmail.com> wrote:
> On Sun, Dec 7, 2008 at 17:08, Nicolas Bigaouette <nbigaouette@gmail.com> wrote:
>> Hi all!
> <snip>
>> I am thus reporting this to be include in the official file. I think it
>> would be a great addition to an already great distro. I am open to
>> discussion on the subject. I hope I am posting this on the right mailing
>> list and that it can be included! :)
>
> As I've mentioned on the forums, I love this idea. Big +10 from me.

This seems like an OK idea. It does make the PKGBUILD more messy,
however. Either way, if you stick this in the bug tracker, we can get
it assigned to the proper person and see what they feel about it.

Me personally, I use the stock kernel, so I don't have much of an
opinion. But back when I used to compile my own kernel, something like
this would have been great.