# Maintainer: Jeremy Sands # Contributor: Jonathan Liu # Contributor: William Rea pkgname=python-pyicu pkgver=1.0.1 pkgrel=1 pkgdesc="Python binding for ICU" url="http://pyicu.osafoundation.org/" arch=('i686' 'x86_64') depends=('python2' 'icu') license=('custom') source=("http://pypi.python.org/packages/source/P/PyICU/PyICU-$pkgver.tar.gz") md5sums=('416e45c62c020d13b311cf9cc2b6d452') build() { cd "$srcdir/PyICU-$pkgver" python2 setup.py build } package() { cd "$srcdir/PyICU-$pkgver" python2 setup.py install --root "$pkgdir" -O1 install -d -m755 "$pkgdir/usr/share/licenses/$pkgname" install -D -m644 "$srcdir/PyICU-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } # vim:set ts=2 sw=2 et: