[arch-commits] Commit in bottom/repos/community-x86_64 (PKGBUILD PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Thu Dec 23 08:20:07 UTC 2021
Date: Thursday, December 23, 2021 @ 08:20:06
Author: grawlinson
Revision: 1083031
archrelease: copy trunk to community-x86_64
Added:
bottom/repos/community-x86_64/PKGBUILD
(from rev 1083030, bottom/trunk/PKGBUILD)
Deleted:
bottom/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-23 08:19:22 UTC (rev 1083030)
+++ PKGBUILD 2021-12-23 08:20:06 UTC (rev 1083031)
@@ -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.5
-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=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('f847c3f1c96704519b12fbcff1a9aba22d709a945aaa78f5b14ce1d1c4f7559c6e17b3fc2f1ce4b9289eb01161797569f2bd4efa58f40c97751cb867ca8c4fd2')
-b2sums=('00b9876969ff7f3b812c127d4d079e1cdda542410bb323378b593a0f59dab46ae4b862540450930c45cd2a6bda0486a2d04c4461cb06d34157252aede5873a6f')
-
-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 1083030, bottom/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-23 08:20:06 UTC (rev 1083031)
@@ -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.6
+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=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('ec7083a0ec6bd402c1fc8fd4628e056c19f30b9a8ac14c7a8f06f4a8e0ade6743ea7796d0e2921479165e5600b2f7e82969307b4006d50d85fd189784da23bd9')
+b2sums=('63f956735a96737bf781bdfdd426843cd7de7b1a5cce8eeb75c7205bba65acfc788f1ed6a099a05de9f8739ff1e62bd86b0803f623f238a0ff4ce25b2c5ca5ec')
+
+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