1 # Template file for 'python-cairo'
5 wrksrc="pycairo-${version}"
6 build_style=python2-module
7 hostmakedepends="pkg-config python"
8 makedepends="cairo-devel python-devel"
9 short_desc="Python2 bindings for the cairo graphics library"
10 maintainer="Juan RP <xtraeme@voidlinux.eu>"
11 license="LGPL-2.1-or-later, MPL-1.1"
12 homepage="https://pycairo.readthedocs.io/"
13 distfiles="https://github.com/pygobject/pycairo/releases/download/v${version}/pycairo-${version}.tar.gz"
14 checksum=cdd4d1d357325dec3a21720b85d273408ef83da5f15c184f2eff3212ff236b9f
16 python-cairo-devel_package() {
17 depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
18 short_desc+=" - development files"
21 vmove usr/lib/pkgconfig