blob: be4fc17a769da9e58a84c0856b946e7d7572ee05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=python2-cairo
pkgver=1.18.2
pkgrel=4
pkgdesc="Python bindings for the cairo graphics library"
arch=('x86_64')
url="https://pycairo.readthedocs.io/en/latest/"
license=('LGPL2.1' 'MPL')
depends=(cairo python2)
makedepends=(git)
_commit=8643af4c10059827056e769c8c7a997bdc3d5a29 # tags/v1.18.2
source=("git+https://github.com/pygobject/pycairo/#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd pycairo
git describe --tags | sed 's/^v//;s/-/+/g'
}
build() {
cd pycairo
python2 setup.py build
}
package() {
cd pycairo
python2 setup.py install --skip-build --root="${pkgdir}" --optimize='1'
}
|