blob: 181454a523b7fb54078acd9072e0dc69c55574be (
plain)
1 # Description: C parser and AST generator written in Python.
2 # URL: https://github.com/eliben/pycparser
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Danny Rawlins, crux at romster dot me
5 # Depends on: python-setuptools
6
7 name=pycparser
8 version=2.18
9 release=1
10 source=(https://github.com/eliben/$name/archive/release_v$version.zip)
11
12 build() {
13 cd $name-release_v$version
14 /usr/bin/python setup.py build
15
16 cd pycparser
17 /usr/bin/python _build_tables.py
18 cd -
19
20 /usr/bin/python setup.py install --root=$PKG --optimize=1
21 }
|