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

recipes/core/meson/PAGBUILD.yaml main

43 lines Raw ← Back
12345678910111213141516171819202122232425262728293031323334353637383940414243
pkgname: meson
pkgver: '1.12.1'
pkgrel: '1'
pkgdesc: Meson is an open source build system meant to be both extremely fast, as user friendly as possible
url: https://mesonbuild.com/
arch: x86_64
license:
- Apache

depends:
- python
- python-setuptools

makedepends:
- python-pip
- python-wheel
- python-setuptools

source:
- skip-test.diff
- https://github.com/mesonbuild/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz

sha256sums:
- SKIP
- SKIP

build: |
  cd ${pkgname}-${pkgver}

  # Nałóż patch jeśli istnieje
  [ -f ../skip-test.diff ] && patch -Np1 -i ../skip-test.diff

  # Zbuduj wheel w katalogu dist
  python3 -m build --wheel --no-isolation

  # Zainstaluj wygenerowany wheel do PKGDIR
  python3 -m installer --destdir="${PKGDIR}" dist/*.whl

  # Licencja
  install -Dm644 COPYING "${PKGDIR}/usr/share/licenses/${pkgname}/COPYING"

package: |
  true