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

Jan Steffens heftig at archlinux.org
Mon Apr 1 04:30:11 UTC 2019


    Date: Monday, April 1, 2019 @ 04:30:10
  Author: heftig
Revision: 349512

archrelease: copy trunk to extra-x86_64

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

----------+
 PKGBUILD |   75 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 40 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-01 04:29:57 UTC (rev 349511)
+++ PKGBUILD	2019-04-01 04:30:10 UTC (rev 349512)
@@ -1,35 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=cbindgen
-pkgver=0.8.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=60d8234bf3a287da75699936aa00ed9ec9762cc8  # tags/v0.8.2^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 349511, cbindgen/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-01 04:30:10 UTC (rev 349512)
@@ -0,0 +1,40 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=cbindgen
+pkgver=0.8.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)
+_commit=ba02367253bcffb6f4dcfe4bc27005e9cae78edd  # master
+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
+  git tag -f v0.8.3 ba02367253bcffb6f4dcfe4bc27005e9cae78edd
+}
+
+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
+}


More information about the arch-commits mailing list