void-packages/srcpkgs/python-cairo/template

25 lines
815 B
Bash

# Template file for 'python-cairo'
pkgname=python-cairo
version=1.18.2
revision=2
wrksrc="pycairo-${version}"
build_style=python2-module
hostmakedepends="pkg-config python"
makedepends="cairo-devel python-devel"
short_desc="Python2 bindings for the cairo graphics library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later, MPL-1.1"
homepage="https://pycairo.readthedocs.io/"
distfiles="https://github.com/pygobject/pycairo/releases/download/v${version}/pycairo-${version}.tar.gz"
checksum=dcb853fd020729516e8828ad364084e752327d4cff8505d20b13504b32b16531
python-cairo-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
lib32disabled= # override build style
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}