[arch-commits] Commit in cbindgen/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Apr 5 01:18:00 UTC 2020


    Date: Sunday, April 5, 2020 @ 01:17:58
  Author: heftig
Revision: 379521

archrelease: copy trunk to extra-x86_64

Added:
  cbindgen/repos/extra-x86_64/PKGBUILD
    (from rev 379520, cbindgen/trunk/PKGBUILD)
Deleted:
  cbindgen/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-05 01:17:16 UTC (rev 379520)
+++ PKGBUILD	2020-04-05 01:17:58 UTC (rev 379521)
@@ -1,41 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=cbindgen
-pkgver=0.13.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=17d7aad7d07dce8aa665aedbc75c39953afe1600  # tags/v0.13.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
-}

Copied: cbindgen/repos/extra-x86_64/PKGBUILD (from rev 379520, cbindgen/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-05 01:17:58 UTC (rev 379521)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=cbindgen
+pkgver=0.14.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=4a38a48937264d6ec162b2fd47ffd0e7a091ca72  # tags/v0.14.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
+  cargo fetch --locked --target x86_64-unknown-linux-gnu
+}
+
+build() {
+  cd $pkgname
+  cargo build --release --frozen --all-targets
+}
+
+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
+}



More information about the arch-commits mailing list