5 Oct
2010
5 Oct
'10
8:37 a.m.
On Tue, 2010-10-05 at 10:00 +0200, Heiko Baums wrote:
Am Tue, 5 Oct 2010 01:12:06 -0500 schrieb Nathan O <ndowens.aur@gmail.com>:
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
Best suggestion so far =)