milis/talimatname/genel/python-cparser/talimat

22 lines
499 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: C ayrıştırıcı ve AST jeneratörü Python ile yazılmış.
# URL: https://github.com/eliben/pycparser
# Packager: milisarge
# Depends on: python-setuptools
name=python-cparser
_name=pycparser
version=2.14
release=1
source=(https://github.com/eliben/$_name/archive/release_v$version.zip)
build() {
cd $_name-release_v$version
/usr/bin/python2 setup.py build
cd pycparser
/usr/bin/python2 _build_tables.py
cd -
/usr/bin/python2 setup.py install --root=$PKG --optimize=1
}