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

Kpcyrd kpcyrd at gemini.archlinux.org
Fri Nov 19 12:33:47 UTC 2021


    Date: Friday, November 19, 2021 @ 12:33:47
  Author: kpcyrd
Revision: 1052770

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   63 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 34 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-19 12:33:32 UTC (rev 1052769)
+++ PKGBUILD	2021-11-19 12:33:47 UTC (rev 1052770)
@@ -1,29 +0,0 @@
-# Maintainer: kpcyrd <git at rxv.cc>
-
-pkgname=cargo-crev
-pkgver=0.21.3
-pkgrel=1
-pkgdesc="Scalable, social, Code REView and recommendation system that we desperately need"
-url="https://github.com/crev-dev/cargo-crev"
-depends=('openssl' 'curl')
-makedepends=('cargo' 'clang')
-arch=('x86_64')
-license=('MPL' 'Apache' 'MIT')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/crev-dev/cargo-crev/archive/v${pkgver}.tar.gz")
-sha512sums=('9342586a5c7fa5d3d1889889470f0e62dd36934062d35bd8be628f5e65e9de754bd4cee656d1098574412968dd2ccbc0111f126566e24ba5395ffeedcc780fdf')
-b2sums=('c622878895734d0e07475f93710aa3ef4ee7db95d77cb60df1bf80ef7ac8fd5269642f20319be9d1315f96ef88bcd7fc391852f8c55785b72af7207849db1531')
-
-build() {
-  cd "${pkgname}-${pkgver}/cargo-crev"
-  cargo build --release --locked
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  install -Dm755 "target/release/${pkgname}" -t "${pkgdir}/usr/bin"
-
-  install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: cargo-crev/repos/community-x86_64/PKGBUILD (from rev 1052769, cargo-crev/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-19 12:33:47 UTC (rev 1052770)
@@ -0,0 +1,34 @@
+# Maintainer: kpcyrd <git at rxv.cc>
+
+pkgname=cargo-crev
+pkgver=0.21.3
+pkgrel=2
+pkgdesc="Scalable, social, Code REView and recommendation system that we desperately need"
+url="https://github.com/crev-dev/cargo-crev"
+depends=('openssl' 'curl')
+makedepends=('cargo' 'clang')
+arch=('x86_64')
+license=('MPL' 'Apache' 'MIT')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/crev-dev/cargo-crev/archive/v${pkgver}.tar.gz")
+sha512sums=('9342586a5c7fa5d3d1889889470f0e62dd36934062d35bd8be628f5e65e9de754bd4cee656d1098574412968dd2ccbc0111f126566e24ba5395ffeedcc780fdf')
+b2sums=('c622878895734d0e07475f93710aa3ef4ee7db95d77cb60df1bf80ef7ac8fd5269642f20319be9d1315f96ef88bcd7fc391852f8c55785b72af7207849db1531')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}/cargo-crev"
+  cargo build --frozen --release --no-default-features
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  install -Dm755 "target/release/${pkgname}" -t "${pkgdir}/usr/bin"
+
+  install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list