23 lines
768 B
Bash
23 lines
768 B
Bash
# Template file for 'python-cairo'
|
|
pkgname=python-cairo
|
|
version=1.15.4
|
|
revision=1
|
|
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"
|
|
homepage="https://pycairo.readthedocs.io/"
|
|
license="LGPL-2.1, MPL-1.1"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
distfiles="https://github.com/pygobject/pycairo/releases/download/v${version}/pycairo-${version}.tar.gz"
|
|
checksum=ee4c3068c048230e5ce74bb8994a024711129bde1af1d76e3276c7acd81c4357
|
|
|
|
python-cairo-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share/pkgconfig
|
|
}
|
|
}
|