upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-cmake-build-extension / trunk / PKGBUILD
blobb0eea612f83606eaa89f0057b41ba2a42df3ef4d
1 # Maintainer: Maxime Gauduin <alucryd@archinux.org>
2 # Contributor: xiretza <xiretza+aur@xiretza.xyz>
4 pkgname=python-cmake-build-extension
5 pkgver=0.5.1
6 pkgrel=2
7 pkgdesc='Setuptools extension to build and package CMake projects'
8 arch=(any)
9 url=https://github.com/diegoferigo/cmake-build-extension
10 license=(MIT)
11 depends=(
12   cmake
13   python
14   python-gitpython
15   ninja
17 makedepends=(
18   git
19   python-setuptools
21 _tag=2c3d822e40fe3fd2d769ad09dba367e6617dcc82
22 source=(git+https://github.com/diegoferigo/cmake-build-extension.git#tag=${_tag})
23 b2sums=(SKIP)
25 pkgver() {
26   cd cmake-build-extension
27   git describe --tags | sed 's/^v//'
30 build() {
31   cd cmake-build-extension
32   python setup.py build
35 package() {
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
41 # vim: ts=2 sw=2 et