1 # Maintainer: Jonathan Liu <net147@gmail.com>
6 pkgdesc="Python binding for ICU"
8 url="http://pyicu.osafoundation.org/"
10 depends=('python2' 'icu')
11 source=("http://pypi.python.org/packages/source/P/${_realpkgname}/${_realpkgname}-${pkgver}.tar.gz"
13 md5sums=('70cbb5b43c3e6939b74c3f1b27e47aae'
14 'f148a42297eac01f65eec3f7a7c0b11e')
17 cd "${srcdir}/${_realpkgname}-${pkgver}"
18 patch -Np0 -i "${srcdir}/icu-4.8.patch"
19 python2 setup.py build
23 cd "${srcdir}/${_realpkgname}-${pkgver}"
24 python2 setup.py install --root "${pkgdir}" -O1
25 install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
26 install -D -m644 "${srcdir}/${_realpkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
29 # vim:set ts=2 sw=2 et: