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

Kpcyrd kpcyrd at gemini.archlinux.org
Fri Dec 31 19:26:35 UTC 2021


    Date: Friday, December 31, 2021 @ 19:26:35
  Author: kpcyrd
Revision: 1091326

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   63 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-31 19:26:20 UTC (rev 1091325)
+++ PKGBUILD	2021-12-31 19:26:35 UTC (rev 1091326)
@@ -1,31 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-
-pkgname=cargo-release
-pkgver=0.18.6
-pkgrel=1
-pkgdesc='Cargo subcommand "release": everything about releasing a rust crate'
-url='https://github.com/sunng87/cargo-release'
-arch=('x86_64')
-license=('MIT' 'APACHE')
-depends=('gcc-libs' 'openssl' 'zlib')
-makedepends=('cargo')
-source=(https://github.com/sunng87/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-b2sums=('2c9547e1609b1a4117e458ceb43aaffec40ba90804a63a016aa602ca0d4db6e4fde2991526bbd66c87bb75b3fa3a0c1155194171f832c630905a8f73bb528475')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  cargo build --frozen --release
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  install -Dm 755 target/release/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
-  install -Dm 644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: cargo-release/repos/community-x86_64/PKGBUILD (from rev 1091325, cargo-release/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-31 19:26:35 UTC (rev 1091326)
@@ -0,0 +1,32 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgname=cargo-release
+pkgver=0.18.8
+pkgrel=1
+pkgdesc='Cargo subcommand "release": everything about releasing a rust crate'
+url='https://github.com/sunng87/cargo-release'
+arch=('x86_64')
+license=('MIT' 'APACHE')
+depends=('gcc-libs' 'libgit2' 'libssh' 'openssl' 'zlib')
+makedepends=('cargo' 'pkg-config')
+source=(https://github.com/sunng87/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+b2sums=('13665ecdd568dc3214a9121f10a1d74784d29e54f3c638689e2f9b0c222572502fe59f853d3f4b10cec3b0096d62f885c93fcf3155252877db625f11c5013ddb')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed -i 's/"vendored-libgit2"//' Cargo.toml
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  LIBSSH2_SYS_USE_PKG_CONFIG=1 cargo build --frozen --release
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 755 target/release/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
+  install -Dm 644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list