Date: Thursday, June 9, 2022 @ 22:12:49 Author: heftig Revision: 448097
archrelease: copy trunk to extra-x86_64 Added: cbindgen/repos/extra-x86_64/PKGBUILD (from rev 448096, cbindgen/trunk/PKGBUILD) Deleted: cbindgen/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-09 22:12:40 UTC (rev 448096) +++ PKGBUILD 2022-06-09 22:12:49 UTC (rev 448097) @@ -1,49 +0,0 @@ -# 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 -} Copied: cbindgen/repos/extra-x86_64/PKGBUILD (from rev 448096, cbindgen/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-09 22:12:49 UTC (rev 448097) @@ -0,0 +1,49 @@ +# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> + +pkgname=cbindgen +pkgver=0.24.3 +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=f43ccfc047a1a160267f32355c5e5e7154a2665a # tags/v0.24.3^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 +}