25 lines
840 B
Bash
25 lines
840 B
Bash
# Template file for 'python3-cairo'
|
|
pkgname=python3-cairo
|
|
version=1.15.3
|
|
revision=1
|
|
wrksrc="pycairo-${version}"
|
|
build_style=python3-module
|
|
replaces="python3.4-cairo>=0"
|
|
hostmakedepends="pkg-config python3"
|
|
makedepends="cairo-devel python3-devel"
|
|
short_desc="Python3 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=8642e36cef66acbfc02760d2b40c716f5f183d073fb063ba28fd29a14044719d
|
|
|
|
python3-cairo-devel_package() {
|
|
replaces="python3.4-cairo-devel>=0"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share/pkgconfig
|
|
}
|
|
}
|