mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-01-24 09:52:13 +08:00
This covers pygtk
This commit is contained in:
parent
1c4b25f12c
commit
6b83bdaada
@ -1,17 +1,16 @@
|
||||
# Maintainer: Manuel Tortosa <manutortos@chakra-project.org>
|
||||
|
||||
pkgname=filesystem-extra
|
||||
pkgver=2013.04
|
||||
pkgrel=7
|
||||
pkgver=2013.05
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
pkgdesc="Extra filesystem"
|
||||
groups=('extra')
|
||||
install=extra.install
|
||||
source=('extra.conf' 'extra.profile' 'extra.tcsh')
|
||||
md5sums=('b0f054b6c5f809927817b345351ed7b6'
|
||||
'040ac04839c1402ce8515f95feb88e63'
|
||||
'917d7c2c300f8c24709b66200faf9477')
|
||||
|
||||
'f0430380a444da52658fe835025f7a41'
|
||||
'db20c7b6fdb2902b8481fdbcfadb1a39')
|
||||
|
||||
package() {
|
||||
cd ${pkgdir}
|
||||
|
@ -1,8 +1,11 @@
|
||||
export EXTRADIR=/extra
|
||||
export EXTRADIRS=$EXTRADIR/usr:/usr
|
||||
export PATH=$PATH:$EXTRADIR/usr/bin
|
||||
export MANPATH=$MANPATH:$EXTRADIR/usr/man
|
||||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$EXTRADIR/usr/lib/pkgconfig
|
||||
if [ ! -z $PKG_CONFIG_PATH ]; then
|
||||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$EXTRADIR/usr/lib/pkgconfig
|
||||
else
|
||||
export PKG_CONFIG_PATH=$EXTRADIR/usr/lib/pkgconfig
|
||||
fi
|
||||
if [ ! -z $XDG_DATA_DIRS ]; then
|
||||
export XDG_DATA_DIRS=$XDG_DATA_DIRS:$EXTRADIR/usr/share
|
||||
else
|
||||
@ -18,3 +21,8 @@ if [ ! -z $GTK_PATH ]; then
|
||||
else
|
||||
export GTK_PATH=$EXTRADIR/usr/lib/gtk-2.0/2.10.0
|
||||
fi
|
||||
if [ ! -z $PYTHONPATH ]; then
|
||||
export PYTHONPATH=$PYTHONPATH:$EXTRADIR/usr/lib/python2.7/site-packages:$EXTRADIR/usr/lib/python2.7/site-packages/gtk-2.0
|
||||
else
|
||||
export PYTHONPATH=$EXTRADIR/usr/lib/python2.7/site-packages:$EXTRADIR/usr/lib/python2.7/site-packages/gtk-2.0
|
||||
fi
|
||||
|
@ -14,7 +14,12 @@ else
|
||||
setenv XDG_CONFIG_DIRS $XDG_CONFIG_DIRS:$EXTRADIR/etc/xdg
|
||||
endif
|
||||
if ( ! $?GTK_PATH ) then
|
||||
setenv $EXTRADIR/usr/lib/gtk-2.0/2.10.0
|
||||
setenv GTK_PATH $EXTRADIR/usr/lib/gtk-2.0/2.10.0
|
||||
else
|
||||
setenv GTK_PATH $GTK_PATH:$EXTRADIR/usr/lib/gtk-2.0/2.10.0
|
||||
endif
|
||||
if ( ! $?PYTHONPATH ) then
|
||||
setenv PYTHONPATH $EXTRADIR/usr/lib/python2.7/site-packages:$EXTRADIR/usr/lib/python2.7/site-packages/gtk-2.0
|
||||
else
|
||||
setenv PYTHONPATH $PYTHONPATH:$EXTRADIR/usr/lib/python2.7/site-packages:$EXTRADIR/usr/lib/python2.7/site-packages/gtk-2.0
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user