33 lines
855 B
Plaintext
33 lines
855 B
Plaintext
# Maintainer: Angel Velasquez <angvp@archlinux.org>
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=python-cairo
|
|
pkgver=1.23.0
|
|
pkgrel=1
|
|
pkgdesc="Python bindings for the cairo graphics library"
|
|
arch=('x86_64')
|
|
url="https://pycairo.readthedocs.io/en/latest/"
|
|
license=('LGPL2.1' 'MPL')
|
|
depends=(cairo python)
|
|
makedepends=(meson)
|
|
checkdepends=(python-pytest)
|
|
source=(https://github.com/pygobject/pycairo/releases/download/v$pkgver/pycairo-$pkgver.tar.gz{,.sig})
|
|
sha256sums=('9b61ac818723adc04367301317eb2e814a83522f07bbd1f409af0dada463c44c'
|
|
'SKIP')
|
|
validpgpkeys=(0EBF782C5D53F7E5FB02A66746BD761F7A49B0EC) # Christoph Reiter <reiter.christoph@gmail.com>
|
|
|
|
build() {
|
|
meson build pycairo-$pkgver \
|
|
--prefix=/usr
|
|
meson compile -C build
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
pytest -v
|
|
}
|
|
|
|
package() {
|
|
meson install -C build --destdir="$pkgdir"
|
|
}
|