[arch-commits] Commit in cbindgen/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Fri Apr 10 15:32:23 UTC 2020
Date: Friday, April 10, 2020 @ 15:32:22
Author: heftig
Revision: 379954
archrelease: copy trunk to extra-x86_64
Added:
cbindgen/repos/extra-x86_64/PKGBUILD
(from rev 379953, cbindgen/trunk/PKGBUILD)
Deleted:
cbindgen/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 86 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 41 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-10 15:29:22 UTC (rev 379953)
+++ PKGBUILD 2020-04-10 15:32:22 UTC (rev 379954)
@@ -1,45 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=cbindgen
-pkgver=0.14.0
-pkgrel=2
-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
-
- # Unbreak Firefox
- git revert -n ec1631f3e47686e6e0c1b7641bb08b0e39c59250
-
- 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
-}
Copied: cbindgen/repos/extra-x86_64/PKGBUILD (from rev 379953, cbindgen/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-10 15:32:22 UTC (rev 379954)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=cbindgen
+pkgver=0.14.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=0761b9bbe48d01ded1bbec45bbeea5544b3b1002 # tags/v0.14.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 --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