[arch-commits] Commit in cargo-edit/repos/community-x86_64 (PKGBUILD PKGBUILD)

Kpcyrd kpcyrd at gemini.archlinux.org
Mon Jul 18 16:36:40 UTC 2022


    Date: Monday, July 18, 2022 @ 16:36:40
  Author: kpcyrd
Revision: 1254439

archrelease: copy trunk to community-x86_64

Added:
  cargo-edit/repos/community-x86_64/PKGBUILD
    (from rev 1254438, cargo-edit/trunk/PKGBUILD)
Deleted:
  cargo-edit/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-18 16:36:24 UTC (rev 1254438)
+++ PKGBUILD	2022-07-18 16:36:40 UTC (rev 1254439)
@@ -1,48 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-
-pkgname=cargo-edit
-pkgver=0.9.1
-pkgrel=1
-pkgdesc='Managing cargo dependencies from the command line'
-url='https://github.com/killercup/cargo-edit/releases'
-arch=('x86_64')
-license=('MIT' 'APACHE')
-depends=('cargo' 'libgit2.so')
-options=('debug')
-source=(https://github.com/killercup/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('953712a9bacf56a3aac029fcecdaadb6aad01ad5332af624f4c3054c32ff60934e861f4bcfc8a7d92191f79552d6224a8f7758ea64cec4d22a40be3107ea012a')
-b2sums=('0f63b41845ec0e3d4ba41fa3f1fdc4a4703103a1f89dc90bf91536b84b8079c6ffdd50ac23ab5bd22243f5e3a3da5a97c6f9ee9cdf523f5dea55d24e19d27876')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  CFLAGS+=' -ffat-lto-objects'
-  cargo build --frozen --release
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  # tests depend on target/debug/
-  cargo test --frozen
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  install -Dm 755 \
-    target/release/cargo-add \
-    target/release/cargo-rm \
-    target/release/cargo-upgrade \
-    target/release/cargo-set-version \
-    -t "${pkgdir}/usr/bin"
-
-  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: cargo-edit/repos/community-x86_64/PKGBUILD (from rev 1254438, cargo-edit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-18 16:36:40 UTC (rev 1254439)
@@ -0,0 +1,48 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+
+pkgname=cargo-edit
+pkgver=0.10.1
+pkgrel=1
+pkgdesc='Managing cargo dependencies from the command line'
+url='https://github.com/killercup/cargo-edit/releases'
+arch=('x86_64')
+license=('MIT' 'APACHE')
+depends=('cargo' 'libgit2.so')
+options=('debug')
+source=(https://github.com/killercup/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('34f92226310366589d4f9448db540e31775e7181de409a105ca1040a238f6c47ac93de7b9b6044025bac9654d8f03011fc731b5aa324002a6e0ea8fcc0170e1d')
+b2sums=('eae26b2dbb9cee395f8a4900cdf56a147578418b792693c0c376342ffeff9980f2207b424ca6fc4ace3b9fc5f231c97bcb85867cc1fb59da9e19fc783330262f')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  CFLAGS+=' -ffat-lto-objects'
+  cargo build --frozen --release
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  # tests depend on target/debug/
+  cargo test --frozen
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 755 \
+    target/release/cargo-add \
+    target/release/cargo-rm \
+    target/release/cargo-upgrade \
+    target/release/cargo-set-version \
+    -t "${pkgdir}/usr/bin"
+
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list