[arch-commits] Commit in procs/repos/community-x86_64 (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Fri Dec 24 17:58:36 UTC 2021
Date: Friday, December 24, 2021 @ 17:58:36
Author: alerque
Revision: 1083432
archrelease: copy trunk to community-x86_64
Added:
procs/repos/community-x86_64/PKGBUILD
(from rev 1083431, procs/trunk/PKGBUILD)
Deleted:
procs/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 91 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-24 17:57:56 UTC (rev 1083431)
+++ PKGBUILD 2021-12-24 17:58:36 UTC (rev 1083432)
@@ -1,45 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-# Contributor: Filipe Nascimento <flipee at tuta dot io>
-# Contributor: Attenuation <ouyangjun1999 at gmail.com>
-
-pkgname=procs
-pkgver=0.11.12
-pkgrel=1
-pkgdesc="A modern replacement for ps written in Rust"
-arch=('x86_64')
-url="https://github.com/dalance/procs"
-license=('MIT')
-depends=('gcc-libs')
-makedepends=('rust')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('ff1a293d84cc0160cc92b4530ee93cedf530796e80130df74b0490c3e884efb6')
-
-prepare() {
- cd "$pkgname-$pkgver"
- cargo fetch --locked
-}
-
-build() {
- cd "$pkgname-$pkgver"
- cargo build --release --frozen
-
- "target/release/$pkgname" --completion zsh
- "target/release/$pkgname" --completion bash
- "target/release/$pkgname" --completion fish
-}
-
-check() {
- cd "$pkgname-$pkgver"
- cargo test --frozen
-}
-
-package() {
- cd "$pkgname-$pkgver"
- install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
- install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
- install -Dm 644 "_$pkgname" -t "$pkgdir/usr/share/zsh/site-functions"
- install -Dm 644 "$pkgname.bash" "$pkgdir/usr/share/bash-completion/completions/$pkgname"
- install -Dm 644 "$pkgname.fish" -t "$pkgdir/usr/share/fish/vendor_completions.d"
-}
-
-# vim: ts=2 sw=2 et:
Copied: procs/repos/community-x86_64/PKGBUILD (from rev 1083431, procs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-24 17:58:36 UTC (rev 1083432)
@@ -0,0 +1,46 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Filipe Nascimento <flipee at tuta dot io>
+# Contributor: Attenuation <ouyangjun1999 at gmail.com>
+
+pkgname=procs
+pkgver=0.11.13
+pkgrel=1
+pkgdesc="A modern replacement for ps written in Rust"
+arch=('x86_64')
+url="https://github.com/dalance/procs"
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('rust')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('b769ddf1b2faeca4e9fb22e8e0248f5d69b4b88bd51fb37c8510d2e6a8e897d3')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build --release --frozen
+
+ "target/release/$pkgname" --completion zsh
+ "target/release/$pkgname" --completion bash
+ "target/release/$pkgname" --completion fish
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ cargo test --frozen
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
+ install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+ install -Dm 644 "_$pkgname" -t "$pkgdir/usr/share/zsh/site-functions"
+ install -Dm 644 "$pkgname.bash" "$pkgdir/usr/share/bash-completion/completions/$pkgname"
+ install -Dm 644 "$pkgname.fish" -t "$pkgdir/usr/share/fish/vendor_completions.d"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list