[arch-commits] Commit in cargo-outdated/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at gemini.archlinux.org
Tue Nov 16 22:48:22 UTC 2021
Date: Tuesday, November 16, 2021 @ 22:48:21
Author: kpcyrd
Revision: 1048869
archrelease: copy trunk to community-x86_64
Added:
cargo-outdated/repos/community-x86_64/PKGBUILD
(from rev 1048868, cargo-outdated/trunk/PKGBUILD)
Deleted:
cargo-outdated/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 65 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 35 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-16 22:48:06 UTC (rev 1048868)
+++ PKGBUILD 2021-11-16 22:48:21 UTC (rev 1048869)
@@ -1,30 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Contributor: Jian Zeng <anonymousknight96+aur AT gmail.com>
-# Contributor: Alexandre Bury <alexandre.bury+aur AT gmail.com>
-# Contributor: Vlad M. <vlad at archlinux.net>
-
-pkgname=cargo-outdated
-pkgver=0.9.17
-pkgrel=1
-pkgdesc="A cargo subcommand for displaying when Rust dependencies are out of date"
-url="https://github.com/kbknapp/cargo-outdated"
-arch=('x86_64')
-license=('MIT')
-depends=('cargo')
-source=("${pkgname}-${pkgver}.tar.gz::https://crates.io/api/v1/crates/${pkgname}/${pkgver}/download")
-sha256sums=('7cc5236c91d8ae2dbdcfe3ae1c20a85b53f8bdba7aa20a09034f4515f6a6120a')
-b2sums=('ec7a022f6df08deaa1d5ab6609ceb9f9efc89dd564a029c72a7fd47e75c5ae7e4e72ece3ea60a9ac8d0e97375df5baf55a65f5a6870764e06f5617b59564aad0')
-
-build() {
- cd "${pkgname}-${pkgver}"
- cargo build --release --locked
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
- install -Dm644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: cargo-outdated/repos/community-x86_64/PKGBUILD (from rev 1048868, cargo-outdated/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-16 22:48:21 UTC (rev 1048869)
@@ -0,0 +1,35 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Contributor: Jian Zeng <anonymousknight96+aur AT gmail.com>
+# Contributor: Alexandre Bury <alexandre.bury+aur AT gmail.com>
+# Contributor: Vlad M. <vlad at archlinux.net>
+
+pkgname=cargo-outdated
+pkgver=0.10.1
+pkgrel=1
+pkgdesc="A cargo subcommand for displaying when Rust dependencies are out of date"
+url="https://github.com/kbknapp/cargo-outdated"
+arch=('x86_64')
+license=('MIT')
+depends=('cargo')
+source=("${pkgname}-${pkgver}.tar.gz::https://crates.io/api/v1/crates/${pkgname}/${pkgver}/download")
+sha256sums=('90a43081be1328abbe31fa88e1fe00aef9360d5c1b6298b88ed1e63031f5bd9c')
+b2sums=('e23201e59e748f57243bbbf314a47ee93764a8c9adcfefe86a903df68507b329368671ea22e28b19bc2bf57e8d8fb4fe5f6c985d857e11127dfe18ba8a337a8a')
+
+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 -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list