1c9ca42b42
Closes #13524. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
23 lines
775 B
Bash
23 lines
775 B
Bash
# Template file for 'python-cairo'
|
|
pkgname=python-cairo
|
|
version=1.17.0
|
|
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"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
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=cdd4d1d357325dec3a21720b85d273408ef83da5f15c184f2eff3212ff236b9f
|
|
|
|
python-cairo-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|