mirror of https://github.com/cjbassi/gotop.git
Removed packages folder; updated build.sh
This commit is contained in:
parent
66ebff873d
commit
5a28dd46a5
6
build.sh
6
build.sh
|
@ -1,11 +1,11 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Build Steps
|
# Build Steps
|
||||||
# 1. update version number in `gotop.go`, `PKGBUILD`, and `install.sh`
|
# 1. update version number in `gotop.go` and `install.sh`
|
||||||
# 2. run this script
|
# 2. run this script
|
||||||
# 3. publish binaries on GitHub
|
# 3. publish binaries on GitHub
|
||||||
# 4. push changes to GitHub
|
# 4. delete `builds` folder
|
||||||
# 5. push `PKGBUILD` to AUR
|
# 5. push changes to GitHub
|
||||||
|
|
||||||
VERSION=$(go run gotop.go -v)
|
VERSION=$(go run gotop.go -v)
|
||||||
|
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
# Maintainer: Caleb Bassi <calebjbassi@gmail.com>
|
|
||||||
|
|
||||||
pkgname=gotop
|
|
||||||
pkgver=1.1.0
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="A TUI graphical activity monitor inspired by gtop"
|
|
||||||
arch=("x86_64" "i686")
|
|
||||||
url="https://github.com/cjbassi/gotop"
|
|
||||||
license=("AGPLv3")
|
|
||||||
provides=("gotop")
|
|
||||||
|
|
||||||
case "$CARCH" in
|
|
||||||
x86_64)
|
|
||||||
_arch=amd64
|
|
||||||
;;
|
|
||||||
i686)
|
|
||||||
_arch=386
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
source=("https://github.com/cjbassi/gotop/releases/download/$pkgver/gotop-$pkgver-linux_$_arch.tgz")
|
|
||||||
md5sums=("SKIP")
|
|
||||||
|
|
||||||
package() {
|
|
||||||
mkdir -p "$pkgdir/usr/bin"
|
|
||||||
mv $srcdir/gotop $pkgdir/usr/bin
|
|
||||||
}
|
|
Loading…
Reference in New Issue