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

recipes/utils/corrosion/PAGBUILD.yaml main

33 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233
pkgname: corrosion
pkgver: '0.6.1'
pkgrel: '2'
pkgdesc: 'Tool for integrating Rust into an existing CMake project'
url: 'https://github.com/corrosion-rs/corrosion'
arch: x86_64
license:
- MIT

depends: []
makedepends:
- cmake
- rustc
- git

source:
- 'https://github.com/corrosion-rs/corrosion.git'

sha256sums:
- SKIP

build: |
  cmake -B build -S ${pkgname} \
  -DCMAKE_INSTALL_PREFIX=/usr      \
  -DCMAKE_INSTALL_LIBEXECDIR=lib   \
  -DCORROSION_BUILD_TESTS=OFF

  cmake --build build

  DESTDIR=${PKGDIR} cmake --install build

package: |
  install -Dm644 ${pkgname}/LICENSE -t ${PKGDIR}/usr/share/licenses/${pkgname}