Skip to content

Commit da3c7df

Browse files
gbylEeems
authored andcommitted
add package: bottom (#804)
Co-authored-by: gbyl <[email protected]>
1 parent 0d9e817 commit da3c7df

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

package/bottom/package

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/usr/bin/env bash
2+
# Copyright (c) 2023 The Toltec Contributors
3+
# SPDX-License-Identifier: MIT
4+
5+
pkgnames=(bottom)
6+
pkgdesc="Cross-platform graphical process/system monitor"
7+
url=https://github.com/ClementTsang/bottom
8+
pkgver=0.9.6-1
9+
timestamp=2023-08-26T14:43Z
10+
section="utils"
11+
maintainer="gbyl <[email protected]>"
12+
license=MIT
13+
14+
image=rust:v3.1
15+
source=("https://github.com/ClementTsang/bottom/archive/refs/tags/${pkgver%-*}.zip")
16+
sha256sums=(38c1a544ceeac4792f8e4acbf3adbf0a6d7a935afb7ef9121aaba1e7ed25cea3)
17+
18+
build() {
19+
cargo build --release
20+
}
21+
22+
package() {
23+
install -D -m 755 "$srcdir"/target/armv7-unknown-linux-gnueabihf/release/btm "$pkgdir"/opt/bin/btm
24+
}

0 commit comments

Comments
 (0)