1 # Maintainer: Maxime Gauduin <alucryd@archinux.org>
2 # Contributor: xiretza <xiretza+aur@xiretza.xyz>
4 pkgname=python-cmake-build-extension
7 pkgdesc='Setuptools extension to build and package CMake projects'
9 url=https://github.com/diegoferigo/cmake-build-extension
21 _tag=2c3d822e40fe3fd2d769ad09dba367e6617dcc82
22 source=(git+https://github.com/diegoferigo/cmake-build-extension.git#tag=${_tag})
26 cd cmake-build-extension
27 git describe --tags | sed 's/^v//'
31 cd cmake-build-extension
36 cd cmake-build-extension
37 python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
38 install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-cmake-build-extension