Date: Tuesday, January 8, 2019 @ 16:58:06 Author: heftig Revision: 343118
archrelease: copy trunk to extra-x86_64 Added: cbindgen/repos/extra-x86_64/PKGBUILD (from rev 343117, cbindgen/trunk/PKGBUILD) Deleted: cbindgen/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 70 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-01-08 16:57:53 UTC (rev 343117) +++ PKGBUILD 2019-01-08 16:58:06 UTC (rev 343118) @@ -1,35 +0,0 @@ -# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> - -pkgname=cbindgen -pkgver=0.6.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=ad2dc376e11e9805a35da2d2cf9a3a7520da3260 # tags/v0.6.7^0 -source=("git+https://github.com/eqrion/cbindgen#commit=$_commit") -sha512sums=('SKIP') - -pkgver() { - cd $pkgname - git describe --tags | sed 's/^v//;s/-/+/g' -} - -build() { - cd $pkgname - cargo build --release -} - -check() { - cd $pkgname - 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 343117, cbindgen/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-08 16:58:06 UTC (rev 343118) @@ -0,0 +1,35 @@ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=cbindgen +pkgver=0.6.8 +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=44e9b2112a06e46ddda6073e237d3a56df39c3e2 # tags/v0.6.8^0 +source=("git+https://github.com/eqrion/cbindgen#commit=$_commit") +sha512sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^v//;s/-/+/g' +} + +build() { + cd $pkgname + cargo build --release +} + +check() { + cd $pkgname + cargo test --release +} + +package() { + cd $pkgname + install -Dt "$pkgdir/usr/bin" target/release/cbindgen + install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 README.md +}