blob: 311a1f8461fa8c2ad095d08a8c29b61b287ed651 (
plain)
1 # Description: ASCII transliterations of Unicode text
2 # URL: https://github.com/avian2/unidecode
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-setuptools
5
6 name=python3-unidecode
7 version=1.3.4
8 release=1
9 source=(https://github.com/avian2/unidecode/archive/unidecode-$version.tar.gz)
10
11 build() {
12 cd unidecode-unidecode-$version
13 /usr/bin/python3 setup.py build
14 /usr/bin/python3 setup.py install \
15 --root=$PKG \
16 --optimize=1 \
17 --skip-build
18 mv $PKG/usr/bin/unidecode{,3}
19 }
|