[arch-commits] Commit in cargo-c/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel Bermond
dbermond at gemini.archlinux.org
Thu Aug 18 22:53:28 UTC 2022
Date: Thursday, August 18, 2022 @ 22:53:28
Author: dbermond
Revision: 1269492
archrelease: copy trunk to community-x86_64
Added:
cargo-c/repos/community-x86_64/PKGBUILD
(from rev 1269491, cargo-c/trunk/PKGBUILD)
Deleted:
cargo-c/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-18 22:53:03 UTC (rev 1269491)
+++ PKGBUILD 2022-08-18 22:53:28 UTC (rev 1269492)
@@ -1,34 +0,0 @@
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-
-pkgname=cargo-c
-pkgver=0.9.11
-pkgrel=1
-pkgdesc='A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries'
-arch=('x86_64')
-url='https://github.com/lu-zero/cargo-c/'
-license=('MIT')
-depends=('curl' 'openssl' 'zlib')
-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=('a3e9471e80e7963ab1d8aa09d0c8ce4d76509346569d89fc86848dd2a9d20d43'
- 'd8a3ed6946d15607cad61b138c326e9f7bbf86d0060c340c1df8586920ad8da8')
-
-prepare() {
- ln -sf "../${pkgname}-${pkgver}.Cargo.lock" "${pkgname}-${pkgver}/Cargo.lock"
- cargo fetch --locked --manifest-path="${pkgname}-${pkgver}/Cargo.toml"
-}
-
-build() {
- export CFLAGS+=' -ffat-lto-objects'
- cargo build --release --frozen --manifest-path="${pkgname}-${pkgver}/Cargo.toml"
-}
-
-check() {
- cargo test --release --frozen --manifest-path="${pkgname}-${pkgver}/Cargo.toml"
-}
-
-package() {
- cargo install --frozen --offline --no-track --path "${pkgname}-${pkgver}" --root "${pkgdir}/usr"
- install -D -m644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
Copied: cargo-c/repos/community-x86_64/PKGBUILD (from rev 1269491, cargo-c/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-18 22:53:28 UTC (rev 1269492)
@@ -0,0 +1,34 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+
+pkgname=cargo-c
+pkgver=0.9.12
+pkgrel=1
+pkgdesc='A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries'
+arch=('x86_64')
+url='https://github.com/lu-zero/cargo-c/'
+license=('MIT')
+depends=('curl' 'openssl' 'zlib')
+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=('d700c6cc93d06c5ed7a887f51d87d47e88e783dfc1b28d00b951625c4d3ce509'
+ 'c1a035c1e69b980d57f20005802699cf5fb63a02423a40ff1675238781db159e')
+
+prepare() {
+ ln -sf "../${pkgname}-${pkgver}.Cargo.lock" "${pkgname}-${pkgver}/Cargo.lock"
+ cargo fetch --locked --manifest-path="${pkgname}-${pkgver}/Cargo.toml"
+}
+
+build() {
+ export CFLAGS+=' -ffat-lto-objects'
+ cargo build --release --frozen --manifest-path="${pkgname}-${pkgver}/Cargo.toml"
+}
+
+check() {
+ cargo test --release --frozen --manifest-path="${pkgname}-${pkgver}/Cargo.toml"
+}
+
+package() {
+ 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