[aur-general] GUI

Allan McRae allan at archlinux.org
Tue Oct 5 02:32:12 EDT 2010


On 05/10/10 16:12, Nathan O wrote:
> Probably not allowed to do so, but I figured I would ask. In a PKGBUILD can
> we do something like:
>
> echo "Do you want to enable GTK support?"
> read gtk
>
> if [[ "gtk" == "yes" ]]; then
>       ./configure --with-gtk
>
> and so on.
>

PKGBUILDs are not supposed to be interactive.  Leave a comment in the 
PKGBUILD telling users to add/remove that flag to their needs.

Allan



More information about the aur-general mailing list