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

recipes/utils/scons/PAGBUILD.yaml main

41 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738394041
pkgname: scons
pkgver: '4.11.0'
pkgrel: '1'
pkgdesc: 'SCons is a free tool construction allows replacement of make.'
url: 'https://scons.org'
arch: x86_64
license:
- MIT

depends: []
makedepends:
- 'python-setuptools'
- 'python-wheel'

source:
- 'https://sourceforge.net/projects/scons/files/scons/${pkgver}/SCons-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  sed -i 's/env python/&3/' SCons/Utilities/*.py
  sed -i 's:build/doc/man/::' setup.cfg

    pip3 wheel -w dist \
      --no-build-isolation \
      --no-deps $PWD
    pip3 install --no-index \
      --find-links dist \
      --no-cache-dir    \
      --no-user         \
      --root=${PKGDIR}       \
      SCons

   find ${PKGDIR} -type d -name vendor -o -name tests |xargs rm -rf 

  install -D -m644 LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE

package: |
  true