🔒 Repository is read-only – file editing is disabled.

recipes/gui/python-cairo/PAGBUILD.yaml main

39 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536373839
pkgname: python-cairo
pkgver: '1.29.1'
pkgrel: '1'
pkgdesc: connector Python (3) for the library cairo
url: 'https://www.cairographics.org/'
arch: x86_64
license:
- LGPL MPL
depends: []
makedepends:
- python
- python-wheel
- cairo
source:
- 'https://github.com/pygobject/pycairo/releases/download/v${pkgver}/pycairo-${pkgver}.tar.gz'
sha256sums:
- 4fbd26b4af24c9787d84cf5448e34eb8dca064b732479aaecd03109520eebd5f
build: |
  cd pycairo-${pkgver}

  mkdir build
  cd    build

       meson setup .. \
             --prefix=/usr \
    --buildtype=plain \
    --wrap-mode nodownload \
    -D b_lto=true \
    -D b_pie=true \
    -D python=/usr/bin/python3

  ninja
  DESTDIR=${PKGDIR} ninja install

  install -Dm644 ../COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING
  install -Dm644 ../COPYING-LGPL-2.1 ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING-LGPL-2.1
  install -Dm644 ../COPYING-MPL-1.1 ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING-MPL-1.1
package: |
  true