[arch-commits] Commit in python-cairo/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 11:21:26 UTC 2020
Date: Monday, November 9, 2020 @ 11:21:25
Author: felixonmars
Revision: 399670
archrelease: copy trunk to staging-x86_64
Added:
python-cairo/repos/staging-x86_64/
python-cairo/repos/staging-x86_64/PKGBUILD
(from rev 399669, python-cairo/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-cairo/repos/staging-x86_64/PKGBUILD (from rev 399669, python-cairo/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-11-09 11:21:25 UTC (rev 399670)
@@ -0,0 +1,30 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=python-cairo
+pkgver=1.20.0
+pkgrel=2
+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=(git)
+_commit=4783b7eae1fe4eaf2c6b5c950b0c2ea3d25c5f98
+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
+ python setup.py build
+}
+
+package() {
+ cd pycairo
+ python setup.py install --skip-build --root="${pkgdir}" --optimize='1'
+}
More information about the arch-commits
mailing list