python-cairo 1.26.0-1

This commit is contained in:
xhaa123 2024-11-02 18:20:44 +08:00
commit bedece0cd1

31
PKGBUILD Normal file
View File

@ -0,0 +1,31 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=python-cairo
pkgver=1.26.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=('python' 'cairo')
makedepends=('meson')
source=(https://github.com/pygobject/pycairo/releases/download/v${pkgver}/py${pkgname#*-}-${pkgver}.tar.gz)
sha256sums=(2dddd0a874fbddb21e14acd9b955881ee1dc6e63b9c549a192d613a907f9cbeb)
build() {
cd py${pkgname#*-}-${pkgver}
meson setup build --prefix=/usr --buildtype=release
meson compile -C build
}
package() {
cd py${pkgname#*-}-${pkgver}
meson install -C build --destdir ${pkgdir}
}