Date: Wednesday, June 8, 2022 @ 07:39:41 Author: heftig Revision: 447747
archrelease: copy trunk to extra-x86_64 Added: cbindgen/repos/extra-x86_64/PKGBUILD (from rev 447746, cbindgen/trunk/PKGBUILD) Deleted: cbindgen/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-08 07:39:30 UTC (rev 447746) +++ PKGBUILD 2022-06-08 07:39:41 UTC (rev 447747) @@ -1,49 +0,0 @@ -# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> - -pkgname=cbindgen -pkgver=0.24.1 -pkgrel=1 -pkgdesc="A tool for generating C bindings to Rust code" -url="https://github.com/eqrion/cbindgen" -arch=(x86_64) -license=(MPL2) -depends=(gcc-libs) -makedepends=(cargo git) -checkdepends=(cython) -options=(debug) -_commit=9855f90b6568c4f75b21cd675b7c9c7f58b0e425 # tags/v0.24.1^0 -source=("git+$url#commit=$_commit") -sha512sums=('SKIP') - -# Use LTO -export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1 - -# Use debug -export CARGO_PROFILE_RELEASE_DEBUG=2 - -pkgver() { - cd cbindgen - git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g' -} - -prepare() { - cd cbindgen - cargo fetch --locked --target x86_64-unknown-linux-gnu -} - -build() { - cd cbindgen - cargo build --release --frozen --all-targets -} - -check() { - cd cbindgen - # Tests need nightly features - RUSTC_BOOTSTRAP=1 cargo test --release --frozen -} - -package() { - cd cbindgen - install -Dt "$pkgdir/usr/bin" target/release/cbindgen - install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 README.md -} Copied: cbindgen/repos/extra-x86_64/PKGBUILD (from rev 447746, cbindgen/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-08 07:39:41 UTC (rev 447747) @@ -0,0 +1,49 @@ +# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> + +pkgname=cbindgen +pkgver=0.24.2 +pkgrel=1 +pkgdesc="A tool for generating C bindings to Rust code" +url="https://github.com/eqrion/cbindgen" +arch=(x86_64) +license=(MPL2) +depends=(gcc-libs) +makedepends=(cargo git) +checkdepends=(cython) +options=(debug) +_commit=3d06ae1fc4984b82ada2d84ce74c7af06ffd499d # tags/v0.24.2^0 +source=("git+$url#commit=$_commit") +sha512sums=('SKIP') + +# Use LTO +export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1 + +# Use debug +export CARGO_PROFILE_RELEASE_DEBUG=2 + +pkgver() { + cd cbindgen + git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g' +} + +prepare() { + cd cbindgen + cargo fetch --locked --target x86_64-unknown-linux-gnu +} + +build() { + cd cbindgen + cargo build --release --frozen --all-targets +} + +check() { + cd cbindgen + # Tests need nightly features + RUSTC_BOOTSTRAP=1 cargo test --release --frozen +} + +package() { + cd cbindgen + install -Dt "$pkgdir/usr/bin" target/release/cbindgen + install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 README.md +}