app=py3cairo
version=1.20.0
build=1sml
homepage="http://cairographics.org/pycairo/"
download="https://github.com/pygobject/pycairo/archive/refs/tags/v1.20.0.tar.gz"
desc="Python 3.x bindings for cairo"
requires="python3 gtk3"

build() {
  mkandenterbuilddir
  rm -rf pycairo-$version

  tar xf $srcdir/pycairo-$version.tar.?z*
  cd pycairo-$version
  fixbuilddirpermissions

  python3 setup.py install --prefix="" --root=$pkg

  cp COPYING* $pkgdocs/

  mkfinalpkg
}

sha512sums="
d32d008b741653d02324b206a438f5fd85f2a433201d6f8b98c8f1adc712abea611a4b5ed95c55258efb662dc579eed6b2f752b10d9fc2b6a7c8e5edd19e5266  pycairo-1.20.0.tar.gz
"
