gtk/filesystem-extra/extra.tcsh

21 lines
670 B
Tcsh
Raw Normal View History

2013-04-28 18:03:30 +08:00
setenv EXTRADIR /extra
2013-04-28 18:53:48 +08:00
setenv EXTRADIRS /usr:$EXTRADIR/usr
setenv PATH $PATH:$EXTRADIR/usr/bin
setenv MANPATH $MANPATH:$EXTRADIR/usr/man
setenv PKG_CONFIG_PATH $PKG_CONFIG_PATH:$EXTRADIR/usr/lib/pkgconfig
2013-04-28 18:03:30 +08:00
if ( ! $?XDG_DATA_DIRS ) then
2013-04-28 18:53:48 +08:00
setenv XDG_DATA_DIRS $EXTRADIR/usr/share
2013-04-28 18:03:30 +08:00
else
2013-04-28 18:53:48 +08:00
setenv XDG_DATA_DIRS $XDG_DATA_DIRS:$EXTRADIR/usr/share
2013-04-28 18:03:30 +08:00
endif
if ( ! $?XDG_CONFIG_DIRS ) then
setenv XDG_CONFIG_DIRS $EXTRADIR/etc/xdg
else
setenv XDG_CONFIG_DIRS $XDG_CONFIG_DIRS:$EXTRADIR/etc/xdg
2013-04-28 18:53:48 +08:00
endif
if ( ! $?GI_TYPELIB_PATH ) then
setenv GI_TYPELIB_PATH $EXTRADIR/usr/lib/girepository-1.0
else
export GI_TYPELIB_PATH $GI_TYPELIB_PATH:$EXTRADIR/usr/lib/girepository-1.0
fi