[arch-commits] Commit in cargo-c/trunk (PKGBUILD)

Daniel Bermond dbermond at archlinux.org
Mon Dec 21 21:40:37 UTC 2020


    Date: Monday, December 21, 2020 @ 21:40:36
  Author: dbermond
Revision: 781625

upgpkg: cargo-c 0.7.0-1

Modified:
  cargo-c/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-21 21:39:21 UTC (rev 781624)
+++ PKGBUILD	2020-12-21 21:40:36 UTC (rev 781625)
@@ -1,7 +1,7 @@
 # Maintainer: Daniel Bermond <dbermond at archlinux.org>
 
 pkgname=cargo-c
-pkgver=0.6.18
+pkgver=0.7.0
 pkgrel=1
 pkgdesc='A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries'
 arch=('x86_64')
@@ -11,8 +11,8 @@
 makedepends=('rust')
 source=("https://github.com/lu-zero/cargo-c/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
         "${pkgname}-${pkgver}.Cargo.lock"::"https://github.com/lu-zero/cargo-c/releases/download/v${pkgver}/Cargo.lock")
-sha256sums=('f6611f9d6914e6972bf9544064f9306a71d1cfb4bc8971e85415588770b81f35'
-            '914ae844e9aa0413d079ef92eee116ac6d7f2ace086535b8a7512851ababbcc0')
+sha256sums=('1cda5235cadc9f618168ea6497e4226856807f6c7fe4419df20bef8e67bfe9c0'
+            '30994efd142fc6996c7cb394ae1b472a573074acb291bcdd4322e5616a69b083')
 
 prepare() {
     ln -sf "../${pkgname}-${pkgver}.Cargo.lock" "${pkgname}-${pkgver}/Cargo.lock"
@@ -28,6 +28,6 @@
 }
 
 package() {
-    install -D -m755 "${pkgname}-${pkgver}/target/release/"cargo-c{build,install} -t "${pkgdir}/usr/bin"
+    cargo install --frozen --offline --no-track --path "${pkgname}-${pkgver}" --root "${pkgdir}/usr"
     install -D -m644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }



More information about the arch-commits mailing list