[aur-general] GUI
Nathan O
ndowens.aur at gmail.com
Tue Oct 5 02:47:25 EDT 2010
On Tue, Oct 5, 2010 at 1:45 AM, Sergej Pupykin <ml at 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
?
More information about the aur-general
mailing list