On 08/17/2010 05:36 PM, biginoz wrote:
Le 17/08/2010 15:22, Laurent Carlier a écrit :
Le mardi 17 août 2010 15:12:00, biginoz a écrit :
Hi. I request the deleting of violetland-fr because I adopt violetland and make in PKGBUILD the possibility to have qwerty or azerty keyboard configuration.
Package to be delete : http://aur.archlinux.org/packages.php?ID=39342
Thanks. Biginoz See http://wiki.archlinux.org/index.php/Creating_Packages
"Note: makepkg, and thus the build() function, is intended to be non- interactive. Interactive utilities or scripts called in the build() function may break makepkg, particularly if it is invoked with build-logging enabled (- l). (See Arch Linux Bug #13214.)"
++
My new package violetland isn't good, because there is an "if instruction" in the build function? I take the example of geometria PGKBUILD in aur . I have to take it in pre_install instruction in an violetland.install file?
Thanks Biginoz
Right. There should be no interaction needed in the PKGBUILD. Interactive parts in post_install are very unusual, and will fail in some situations. The best way would be to output a piece of information in post_install that empowers the user to switch the layout by hand. If geometria has interaction in build() it is definitely broken. -- freenode/pyropeter "12:50 - Ich drücke Return."