yochananmarqos

Untitled

Aug 24th, 2020
53
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=python-isounidecode
  2. _name=${pkgname#python-}
  3. pkgver=0.3
  4. pkgrel=1
  5. pkgdesc="Conversion and transliteration of unicode into ascii or iso-8859-1"
  6. arch=('any')
  7. url="https://github.com/redvasily/isounidecode"
  8. license=('BSD 3-Clause')
  9. depends=('python')
  10. makedepends=('python-setuptools')
  11. source=("https://pypi.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz")
  12. sha256sums=('4db0a962c6341826c9a69acaabc2f923a5b124d53a335be892ef29173bc31c5b')
  13.  
  14. build() {
  15.     cd "$_name-$pkgver"
  16.     python setup.py build
  17. }
  18.  
  19. package() {
  20.     cd "$_name-$pkgver"
  21.     python setup.py install --root="$pkgdir" --optimize=1 --skip-build
  22. }
RAW Paste Data