updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / python-pyicu / PKGBUILD
blobdb4b48c28940ce203be08379201d5de0661ed653
1 # Maintainer: Jeremy Sands <cto@jeremysands.com>
2 # Contributor: William Rea <sillywilly@gmail.com>
4 pkgname=python-pyicu
5 pkgver=1.1
6 pkgrel=1
7 pkgdesc="Python binding for icu"
8 url="http://pyicu.osafoundation.org"
9 arch=('i686' 'x86_64')
10 depends=('python' 'icu')
11 license=('custom')
12 source=(http://pypi.python.org/packages/source/P/PyICU/PyICU-$pkgver.tar.gz)
13 md5sums=('70cbb5b43c3e6939b74c3f1b27e47aae')
15 build() {
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