Am Tue, 5 Oct 2010 01:12:06 -0500 schrieb Nathan O <[email protected]>:
> 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. > > Thanks Build two packages or a split package as soon as AUR has support for them: package-cli package-gtk See e.g. avidemux-cli, avidemux-gtk and avidemux-qt or cdrdao and gcdmaster. Interactive PKGBUILDs or PKGBUILDs with "dynamic" dependencies are not recommended. Heiko
