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

George Rawlinson grawlinson at gemini.archlinux.org
Wed Feb 2 06:28:32 UTC 2022


    Date: Wednesday, February 2, 2022 @ 06:28:31
  Author: grawlinson
Revision: 1122373

archrelease: copy trunk to community-x86_64

Added:
  bottom/repos/community-x86_64/PKGBUILD
    (from rev 1122372, bottom/trunk/PKGBUILD)
Deleted:
  bottom/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-02 06:27:42 UTC (rev 1122372)
+++ PKGBUILD	2022-02-02 06:28:31 UTC (rev 1122373)
@@ -1,53 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Clement Tsang (xoronth) <cjhtsang at uwaterloo.ca>
-
-pkgname=bottom
-pkgver=0.6.7
-pkgrel=1
-pkgdesc="A graphical process/system monitor"
-arch=('x86_64')
-url="https://github.com/ClementTsang/bottom"
-license=('MIT')
-depends=('gcc-libs')
-makedepends=('rust')
-source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('71bf22e0651ed8917d6c77536708ba8581b2409abecd32552bfb5bb6af4e46fffea02af665104632f2a969f10ff5fc6e4c2cc47f1aad62c37aceb6e64a52ae26')
-b2sums=('13128bf2d7e9aeb30ce0caa69c3392a7af8422f41f064346e32bdead1d2b3cfb51a208ad143c9c733c92a2d9720031cc26d1def754e104656f7599b78d747b53')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  cargo build --frozen --release --all-features
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  CARGO_HUSKY_DONT_INSTALL_HOOKS=true cargo test --frozen --all-features
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  # binary
-  install -vDm755 -t "$pkgdir/usr/bin" target/release/btm
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md
-  cp -vr docs sample_configs "$pkgdir/usr/share/doc/$pkgname"
-
-  # completions
-  local target_dir=$(ls target/release/build/bottom-*/out/btm.bash | head -n1 | xargs dirname)
-  install -Dm644 "$target_dir"/_btm "$pkgdir/usr/share/zsh/site-functions/_btm"
-  install -Dm644 "$target_dir"/btm.bash "$pkgdir/usr/share/bash-completion/completions/btm"
-  install -Dm644 "$target_dir"/btm.fish "$pkgdir/usr/share/fish/vendor_completions.d/btm.fish"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: bottom/repos/community-x86_64/PKGBUILD (from rev 1122372, bottom/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-02 06:28:31 UTC (rev 1122373)
@@ -0,0 +1,53 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Clement Tsang (xoronth) <cjhtsang at uwaterloo.ca>
+
+pkgname=bottom
+pkgver=0.6.8
+pkgrel=1
+pkgdesc="A graphical process/system monitor"
+arch=('x86_64')
+url="https://github.com/ClementTsang/bottom"
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('rust')
+source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('e414b9c8ce4c5c27ac1f3ac6d29a1dcca2c269b5d6d60d90408324635bf69f5f50947c5ff2dff38fc123939c508c18cb144b14f96d4fd581962770a9b49544dc')
+b2sums=('942bafdcec64327d14ebcd70bf445262d3f7458ea951ecd8e36e749524065b68ddfa1ed85bdcb95bb114aad8a53d8db053b55145f0b9be23d9890f45ec06864d')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --frozen --release --all-features
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  CARGO_HUSKY_DONT_INSTALL_HOOKS=true cargo test --frozen --all-features
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" target/release/btm
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md
+  cp -vr docs sample_configs "$pkgdir/usr/share/doc/$pkgname"
+
+  # completions
+  local target_dir=$(ls target/release/build/bottom-*/out/btm.bash | head -n1 | xargs dirname)
+  install -Dm644 "$target_dir"/_btm "$pkgdir/usr/share/zsh/site-functions/_btm"
+  install -Dm644 "$target_dir"/btm.bash "$pkgdir/usr/share/bash-completion/completions/btm"
+  install -Dm644 "$target_dir"/btm.fish "$pkgdir/usr/share/fish/vendor_completions.d/btm.fish"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list