updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / scim-python / PKGBUILD
blobc9a5068d4e6478ba8b596657717395d4a67ca8b0
1 # Contributor: haoyang.yuan <latteye(at)gmail(dot)com>
2 # Contributor: Rainy <rainylau(at)gmail(dot)com>
3 pkgname=scim-python
4 pkgver=0.1.13rc1
5 pkgrel=1
6 pkgdesc="A python wrapper for SCIM"
7 arch=(i686 x86_64)
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')
16 build() {
17         cd $startdir/src/$pkgname-$pkgver
18         ./configure --prefix=/usr --disable-english-writer --disable-xingma
19         make || return 1
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
25         }