Date: Sunday, January 1, 2023 @ 22:47:21
Author: grawlinson
Revision: 1372839
archrelease: copy trunk to community-x86_64
Added:
bottom/repos/community-x86_64/PKGBUILD
(from rev 1372838, bottom/trunk/PKGBUILD)
Deleted:
bottom/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 111 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 58 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-01 22:46:32 UTC (rev 1372838)
+++ PKGBUILD 2023-01-01 22:47:21 UTC (rev 1372839)
@@ -1,53 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Clement Tsang (xoronth) <[email protected]>
-
-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:
Copied: bottom/repos/community-x86_64/PKGBUILD (from rev 1372838,
bottom/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-01 22:47:21 UTC (rev 1372839)
@@ -0,0 +1,58 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Clement Tsang (xoronth) <[email protected]>
+
+pkgname=bottom
+pkgver=0.7.0
+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=('5bb1fdd85e019d6055ec5019fd89402cb0d01a080e318d75e3be5a527be720359fff4648fcae5ff4893d33f4b601ca310a0b94c52152dccf4d97e1c3c1209103')
+b2sums=('42f873be8e9a99154395e1ca3da0b5a5328e4d61f84691f5bd446ceb8f005af463f037f3ad04dd68580f47e9fd4768ea8f34bccc8118319d6ebfea04d6cb6ca0')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ BTM_GENERATE=true 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"
+ rm -f "$pkgdir/usr/share/doc/$pkgname/docs/.gitignore"
+
+ cd target/tmp/bottom
+
+ # man page
+ install -vDm644 -t "$pkgdir/usr/share/man/man1" manpage/btm.1
+
+ # completions
+ install -Dm644 completion/_btm "$pkgdir/usr/share/zsh/site-functions/_btm"
+ install -Dm644 completion/btm.bash
"$pkgdir/usr/share/bash-completion/completions/btm"
+ install -Dm644 completion/btm.fish
"$pkgdir/usr/share/fish/vendor_completions.d/btm.fish"
+}
+
+# vim:set ts=2 sw=2 et: