Advertisement
yochananmarqos

Untitled

Apr 6th, 2020
490
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.69 KB | None | 0 0
  1. pkgname=bashtop-git
  2. pkgver=r28.bb3cc59
  3. pkgrel=1
  4. pkgdesc="Resource monitor that shows usage and stats for processor, memory, disks, network and processes."
  5. arch=('any')
  6. url="https://github.com/aristocratos/bashtop"
  7. license=('Apache')
  8. depends=('bash')
  9. provides=("${pkgname%-git}")
  10. conflicts=("${pkgname%-git}")
  11. source=('git+https://github.com/aristocratos/bashtop.git')
  12. sha256sums=('SKIP')
  13.  
  14. pkgver() {
  15.     cd "$srcdir/${pkgname%-git}"
  16.     printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  17. }
  18.  
  19. package() {
  20.     cd "$srcdir/${pkgname%-git}"
  21.     install -Dm755 "${pkgname%-git}" -t "$pkgdir/usr/bin"
  22.     install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/${pkgname%-git}"
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement