PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

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

40 lines Raw ← Back
12345678910111213141516171819202122232425262728293031323334353637383940
pkgname: python-cairo
pkgver: '1.29.2'
pkgrel: '1'
pkgdesc: connector Python (3) for the library cairo
url: 'https://www.cairographics.org/'
arch: x86_64
license:
- LGPL MPL
depends:
- cairo
makedepends:
- python
- python-wheel
- cairo
source:
- 'https://github.com/pygobject/pycairo/releases/download/v${pkgver}/pycairo-${pkgver}.tar.gz'
sha256sums:
- 3e69fff74fe64f5ba2dfa31f67c6bdf26413342574047437d2ac520d35e9a489
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