blob: 1eae10a786ac878feb706f251f4a6c0745fb1f29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: begin-theadventure <begin-thecontact.ncncb at dralias dot com>
pkgname=ttop-bin
pkgver=1.5.3
pkgrel=1
pkgdesc='System monitoring tool with historical data service, triggers and top-like TUI (binary release)'
url="https://github.com/inv2004/ttop"
license=('MIT')
arch=('x86_64')
provides=("ttop")
conflicts=("ttop")
source=("ttop$pkgver::$url/releases/download/v$pkgver/ttop"
"LICENSE2023::$url/raw/v1.5.2/LICENSE"
"README1.md::$url/raw/v1.5.2/README.md"
"screen1.png::$url/raw/v1.5.2/.github/images/screen.png")
sha256sums=('1a0d5b4c8801ec330ba413deb2338f59b3c6f157208661ad44fa30fd3a4d1a0e'
'd02b237a4b7b295eea657a27274b6d6ed08695807006562d7252398e34f59079'
'2a8e481fa846fcc5623f721a4aba8d9b7afee2ff2eaed8234a06107f77ac4d9d'
'9746ec96a19dddb22eb8165825c70be3abcf8ff43e44301ef0ad9fc88fa98075')
prepare() {
# Shortcut
echo -e "[Desktop Entry]
Name=ttop
Exec=ttop
Icon=ttop
Terminal=true
Type=Application
Comment=System monitoring tool with historical data service, triggers and top-like TUI" > ttop.desktop
}
package() {
install -Dm644 LICENSE2023 "$pkgdir/usr/share/licenses/ttop/LICENSE"
install -Dm644 screen1.png "$pkgdir/usr/share/pixmaps/ttop.png"
install -Dm644 README1.md "$pkgdir/usr/share/doc/ttop/README.md"
install -Dm644 ttop.desktop -t "$pkgdir/usr/share/applications"
install -Dm755 ttop$pkgver "$pkgdir/usr/bin/ttop"
}
|