1 # Maintainer: Jeremy Sands <cto@jeremysands.com>
2 # Contributor: William Rea <sillywilly@gmail.com>
7 pkgdesc="Python binding for icu"
8 url="http://pyicu.osafoundation.org"
10 depends=('python' 'icu')
12 source=(http://pypi.python.org/packages/source/P/PyICU/PyICU-$pkgver.tar.gz)
13 md5sums=('70cbb5b43c3e6939b74c3f1b27e47aae')
16 cd $startdir/src/PyICU-$pkgver
17 python setup.py build || return 1
18 mkdir -p $startdir/pkg/usr/lib/python2.6/site-packages
19 PYTHONPATH="$startdir/pkg/usr/lib/python2.6/site-packages" python setup.py install --prefix $startdir/pkg/usr || return 1
20 mkdir -p $startdir/pkg/usr/share/licenses/python-pyicu
21 cp $startdir/src/PyICU-$pkgver/LICENSE $startdir/pkg/usr/share/licenses/python-pyicu/ || return 1
23 install=${pkgname}.install