On Thu 02 Sep 2010 12:02 +0300, Christos Nouskas wrote:
I'm trying to enhance the PKGBUILD of kernel26-pf to detect the cpu-specific .config option and automatically add it to the generated package and its description, by tweaking the $PKGEXT and $pkgdesc variables. Example: an amd64-k8 optimized kernel would be packaged as kernel26-pf-2.6.35-pf7-k8.pkg.tar.xz. The PKGBUILD I've created (see http://pastebin.ca/1931033 - relevant lines 96-138) builds and creates the package just fine using makepkg, but submission of the source package to AUR fails. I know that $PKGEXT perhaps shouldn't be tampered with, but I'm open to suggestions.
I think you should probably put that info in the $pkgname rather than $PKGEXT. I don't think that should have any effect on the AUR however. Last I checked it will try to deal with any .tar.gz.