]> git.friedersdorff.com Git - max/slackbuilds.git/blob - libraries/qt5/profile.d/qt5.csh
Add build scripts for qt5-5.9.4
[max/slackbuilds.git] / libraries / qt5 / profile.d / qt5.csh
1 #!/bin/csh
2 # Environment path variables for the Qt package:
3 if ( ! $?QT5DIR ) then
4     # It's best to use the generic directory to avoid
5     # compiling in a version-containing path:
6     if ( -d /usr/lib@LIBDIRSUFFIX@/qt5 ) then
7         setenv QT5DIR /usr/lib@LIBDIRSUFFIX@/qt5
8     else
9         # Find the newest Qt directory and set $QT5DIR to that:
10         foreach qtd ( /usr/lib@LIBDIRSUFFIX@/qt5-* )
11             if ( -d $qtd ) then
12                 setenv QT5DIR $qtd
13             endif
14         end
15     endif
16 endif
17 set path = ( $path $QT5DIR/bin )