[arch-commits] Commit in cargo-udeps/repos/community-x86_64 (PKGBUILD PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Sun Mar 6 22:18:22 UTC 2022
Date: Sunday, March 6, 2022 @ 22:18:21
Author: orhun
Revision: 1144029
archrelease: copy trunk to community-x86_64
Added:
cargo-udeps/repos/community-x86_64/PKGBUILD
(from rev 1144028, cargo-udeps/trunk/PKGBUILD)
Deleted:
cargo-udeps/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 81 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-06 22:18:10 UTC (rev 1144028)
+++ PKGBUILD 2022-03-06 22:18:21 UTC (rev 1144029)
@@ -1,41 +0,0 @@
-
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Contributor: Vlad Frolov <frolvlad at gmail.com>
-
-pkgname=cargo-udeps
-pkgver=0.1.26
-pkgrel=2
-pkgdesc="Find unused dependencies in Cargo.toml"
-arch=('x86_64')
-url="https://github.com/est31/cargo-udeps"
-license=('MIT' 'Apache')
-depends=('curl' 'libgit2')
-makedepends=('cargo' 'libssh2')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('93e73b9e288deddd3ad4c920d1fd65c206c747fa8b1fe6e8f241aec584cd23c0')
-
-prepare() {
- cd "$pkgname-$pkgver"
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- export LIBSSH2_SYS_USE_PKG_CONFIG=1
- cargo build --release --frozen
-}
-
-# Tests require rustup nightly
-#check() {
-# cd "$pkgname-$pkgver"
-# cargo test --release --locked
-#}
-
-package() {
- cd "$pkgname-$pkgver"
- install -Dm 755 "target/release/$pkgname" -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:set ts=2 sw=2 et:
Copied: cargo-udeps/repos/community-x86_64/PKGBUILD (from rev 1144028, cargo-udeps/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-06 22:18:21 UTC (rev 1144029)
@@ -0,0 +1,40 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Contributor: Vlad Frolov <frolvlad at gmail.com>
+
+pkgname=cargo-udeps
+pkgver=0.1.27
+pkgrel=1
+pkgdesc="Find unused dependencies in Cargo.toml"
+arch=('x86_64')
+url="https://github.com/est31/cargo-udeps"
+license=('MIT' 'Apache')
+depends=('curl' 'libgit2')
+makedepends=('cargo' 'libssh2')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('6396569c60b295068f41c1759e6a2cd3a65d2c9e55291afc3588d707e7d5defc')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ export LIBSSH2_SYS_USE_PKG_CONFIG=1
+ cargo build --release --frozen
+}
+
+# Tests require rustup nightly
+#check() {
+# cd "$pkgname-$pkgver"
+# cargo test --release --locked
+#}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -Dm 755 "target/release/$pkgname" -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:set ts=2 sw=2 et:
More information about the arch-commits
mailing list