Date: Friday, June 28, 2019 @ 07:12:41 Author: heftig Revision: 356993
archrelease: copy trunk to extra-x86_64 Added: cbindgen/repos/extra-x86_64/PKGBUILD (from rev 356992, cbindgen/trunk/PKGBUILD) Deleted: cbindgen/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-06-28 07:12:20 UTC (rev 356992) +++ PKGBUILD 2019-06-28 07:12:41 UTC (rev 356993) @@ -1,40 +0,0 @@ -# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> - -pkgname=cbindgen -pkgver=0.8.7 -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=23a991a5b21e89aa1dcdc70f1371be20c93ece8e # tags/v0.8.7^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 -} - -build() { - cd $pkgname - cargo build --release -} - -check() { - cd $pkgname - # test_expand* fails; needs nightly rust - cargo test --release || : -} - -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 356992, cbindgen/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-06-28 07:12:41 UTC (rev 356993) @@ -0,0 +1,40 @@ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=cbindgen +pkgver=0.9.0 +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=e19526e00b3fe6921b881682147a1fe5d6b64124 # tags/v0.9.0^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 +} + +build() { + cd $pkgname + cargo build --release +} + +check() { + cd $pkgname + # test_expand* fails; needs nightly rust + cargo test --release || : +} + +package() { + cd $pkgname + install -Dt "$pkgdir/usr/bin" target/release/cbindgen + install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 README.md +}