28 lines
754 B
Bash
28 lines
754 B
Bash
#!/usr/bin/env bash
|
|
name='py3-cparser'
|
|
release='3'
|
|
version='2.22'
|
|
url='https://github.com/eliben/pycparser'
|
|
description='A super-fast templating language that borrows the best ideas from the existing templating languages.'
|
|
email='parduscix@yandex.ru'
|
|
maintainer='sulincix'
|
|
license=('GPLv3')
|
|
source=("https://github.com/eliben/pycparser/archive/refs/tags/release_v$version.tar.gz")
|
|
depends=(python)
|
|
makedepends=(py3-wheel py3-setuptools)
|
|
sha256sums=('b074c239ee828fcb9c97774b942f3ce51f0d2edc00809f49c3c3ef0f3baaf9c1')
|
|
group=(dev.python)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd pycparser-release_v$version
|
|
|
|
build(){
|
|
python3 setup.py build
|
|
}
|
|
|
|
package(){
|
|
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
|
|
}
|
|
|