Removed packages folder; updated build.sh

This commit is contained in:
Caleb Bassi 2018-03-04 19:41:55 -08:00
parent 66ebff873d
commit 5a28dd46a5
2 changed files with 3 additions and 30 deletions

View File

@ -1,11 +1,11 @@
#!/usr/bin/env bash
# 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
# 3. publish binaries on GitHub
# 4. push changes to GitHub
# 5. push `PKGBUILD` to AUR
# 4. delete `builds` folder
# 5. push changes to GitHub
VERSION=$(go run gotop.go -v)

View File

@ -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
}