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

recipes/utils/gi-docgen/PAGBUILD.yaml main

38 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738
pkgname: 'gi-docgen'
pkgver: '2026.1'
pkgrel: '1'
pkgdesc: 'Documentation generator for GObject-based libraries'
url: 'https://gnome.pages.gitlab.gnome.org/gi-docgen/'
arch: x86_64
depends:
- python
- 'python-jinja'
- 'python-markdown'
- 'python-markupsafe'
- 'python-pygments'
- 'python-toml'
- 'python-typogrify'
- 'python-installer'
- 'python-build'

makedepends:
- 'python-packaging'

source:
- 'https://download.gnome.org/sources/${pkgname}/2026/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  sed '/if err:/s/err/proc.returncode/' \
    -i ${pkgname}-${pkgver}/gidocgen/utils.py
  cd ${pkgname}-${pkgver}
  python setup.py build
  python setup.py install \
    --prefix=/usr \
    --root=${PKGDIR} \
    -O1 --skip-build

package: |
  true