Just run abs then navigate into the proper directory. edit the PKGBUILD adding whatever option is required to build X support out. then run makepkg and install the resulting package. you can also add ghostscript to your pacman.conf's "IgnorePkg =" list.
]]>Under FreeBSD i can do a :
make WITHOUT_X11=yes install
and it is was ok (or also I can install the ghostscript-gui-noX11)
Thanks
Leo