1 # Contributor: haoyang.yuan <latteye(at)gmail(dot)com>
2 # Contributor: Rainy <rainylau(at)gmail(dot)com>
6 pkgdesc="A python wrapper for SCIM"
8 url="http://code.google.com/p/scim-python/"
9 license=('GNU Lesser General Public License')
10 makedepends=('gcc' 'pkgconfig' 'diffutils' 'make' 'scim' 'sqlite3' 'python-pysqlite' 'pygtk')
11 depends=('python' 'scim' 'sqlite3')
12 source=(http://scim-python.googlecode.com/files/$pkgname-$pkgver.tar.gz)
13 install=scim-python.install
14 md5sums=('d3b21df185b88a2100c2eee0007bc2cd')
17 cd $startdir/src/$pkgname-$pkgver
18 ./configure --prefix=/usr --disable-english-writer --disable-xingma
20 make NO_INDEX=true prefix=$startdir/pkg/usr install
21 rm $startdir/pkg/usr/lib/scim-1.0/1.4.0/IMEngine/python.so
22 rm $startdir/pkg/usr/lib/scim-1.0/1.4.0/Helper/python.so
23 rm $startdir/pkg/usr/lib/scim-1.0/1.4.0/SetupUI/python.so
24 cp $startdir/pkg/usr/lib/python2.5/site-packages/scim-0.1/scim/_scim.so $startdir/pkg/usr/lib/scim-1.0/1.4.0/IMEngine/python.so