This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 23rd, 2010  |  syntax: Bash  |  size: 0.80 KB  |  views: 113  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Jeremy Sands <cto@jeremysands.com>
  2. # Contributor: Jonathan Liu <net147@gmail.com>
  3. # Contributor: William Rea <sillywilly@gmail.com>
  4. pkgname=python-pyicu
  5. pkgver=1.0.1
  6. pkgrel=1
  7. pkgdesc="Python binding for ICU"
  8. url="http://pyicu.osafoundation.org/"
  9. arch=('i686' 'x86_64')
  10. depends=('python2' 'icu')
  11. license=('custom')
  12. source=("http://pypi.python.org/packages/source/P/PyICU/PyICU-$pkgver.tar.gz")
  13. md5sums=('416e45c62c020d13b311cf9cc2b6d452')
  14.  
  15. build() {
  16.   cd "$srcdir/PyICU-$pkgver"
  17.   python2 setup.py build
  18. }
  19.  
  20. package() {
  21.   cd "$srcdir/PyICU-$pkgver"
  22.   python2 setup.py install --root "$pkgdir" -O1
  23.   install -d -m755 "$pkgdir/usr/share/licenses/$pkgname"
  24.   install -D -m644 "$srcdir/PyICU-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  25. }
  26.  
  27. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data