Date: Sunday, January 12, 2020 @ 16:26:18 Author: heftig Revision: 373303
archrelease: copy trunk to extra-x86_64 Added: cbindgen/repos/extra-x86_64/PKGBUILD (from rev 373302, cbindgen/trunk/PKGBUILD) Deleted: cbindgen/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-01-12 16:25:22 UTC (rev 373302) +++ PKGBUILD 2020-01-12 16:26:18 UTC (rev 373303) @@ -1,41 +0,0 @@ -# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> - -pkgname=cbindgen -pkgver=0.12.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) -_commit=f5d76c44c466b47d1c776acd9974df838f30d431 # tags/v0.12.1^0 -source=("git+https://github.com/eqrion/cbindgen#commit=$_commit") -sha512sums=('SKIP') - -pkgver() { - cd $pkgname - git describe --tags | sed 's/^v//;s/-/+/g' -} - -prepare() { - cd $pkgname - cargo fetch --locked -} - -build() { - cd $pkgname - cargo build --release --frozen -} - -check() { - cd $pkgname - # test_expand* fails; needs nightly rust - cargo test --release --frozen || : -} - -package() { - cd $pkgname - 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 373302, cbindgen/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-01-12 16:26:18 UTC (rev 373303) @@ -0,0 +1,41 @@ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=cbindgen +pkgver=0.12.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) +_commit=ac1a7d47e87658cf36cb7e56edad7fa5f935dddd # tags/v0.12.2^0 +source=("git+https://github.com/eqrion/cbindgen#commit=$_commit") +sha512sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^v//;s/-/+/g' +} + +prepare() { + cd $pkgname + cargo fetch --locked +} + +build() { + cd $pkgname + cargo build --release --frozen +} + +check() { + cd $pkgname + # test_expand* fails; needs nightly rust + cargo test --release --frozen || : +} + +package() { + cd $pkgname + install -Dt "$pkgdir/usr/bin" target/release/cbindgen + install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 README.md +}