5 Oct
2010
5 Oct
'10
6:47 a.m.
On Tue, Oct 5, 2010 at 1:45 AM, Sergej Pupykin <ml@sergej.pp.ru> wrote:
On 05.10.2010 10: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.
Thanks
I suggest pacman calling to check if gtk2 package installed. If it is - ./configure --with-gtk.
So I could maybe do something like: if [[ -f /usr/bin/gtk-config ]]; then ./configure --with-gtk ?