contrib/python3-iso-639/Pkgfile
2017-02-12 20:57:16 +11:00

16 lines
464 B
Plaintext

# Description: Python library for ISO 639 standard.
# URL: https://pypi.python.org/pypi/iso-639/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-setuptools
name=python3-iso-639
version=0.4.5
release=1
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG --optimize=1
}