updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / python2-pyicu / PKGBUILD
blobce7954236fa442b8ea34bc10983305d063fd2896
1 # Maintainer: Jonathan Liu <net147@gmail.com>
2 pkgname=python2-pyicu
3 _realpkgname=PyICU
4 pkgver=1.1
5 pkgrel=3
6 pkgdesc="Python binding for ICU"
7 arch=('i686' 'x86_64')
8 url="http://pyicu.osafoundation.org/"
9 license=('custom')
10 depends=('python2' 'icu')
11 source=("http://pypi.python.org/packages/source/P/${_realpkgname}/${_realpkgname}-${pkgver}.tar.gz"
12         "icu-4.8.patch")
13 md5sums=('70cbb5b43c3e6939b74c3f1b27e47aae'
14          'f148a42297eac01f65eec3f7a7c0b11e')
16 build() {
17   cd "${srcdir}/${_realpkgname}-${pkgver}"
18   patch -Np0 -i "${srcdir}/icu-4.8.patch"
19   python2 setup.py build
22 package() {
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: