# Contributor: Kiyoshi Aman # Maintainer: Kiyoshi Aman pkgname=py3-cairocffi _pkgname=${pkgname#py3-} _p="${_pkgname#?}" _p="${_pkgname%"$_p"}" pkgver=1.1.0 pkgrel=0 pkgdesc="CFFI-based drop-in replacement for py3-pycairo" url="https://cairocffi.readthedocs.io/en/stable/" arch="noarch" license="BSD-3-Clause" depends="py3-cparser python3" makedepends="python3-dev gdk-pixbuf-dev cairo-dev" source="py3-cairocffi-$pkgver.tar.gz::https://github.com/Kozea/cairocffi/archive/v$pkgver.tar.gz" builddir="$srcdir/cairocffi-$pkgver" build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="d32e8d1a41d287818c84594d584b9951d37102a336b44cd1d0486f808cae8f8d771b6d4864889f9802f3f010f91c4e7612afbb0292b1cabcdb5a2238e074df2e py3-cairocffi-1.1.0.tar.gz"