summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Bassi2018-02-19 22:37:22 -0800
committerCaleb Bassi2018-02-19 22:37:22 -0800
commit56645c991171007820a3e133ec9b1a996cbb30c6 (patch)
tree8eefdf179bed9b677fe6e20f89b95e9c44ad3e23
parent3853beecab8d29030a7907e74f9b24a73d1f98e0 (diff)
downloadaur-56645c991171007820a3e133ec9b1a996cbb30c6.tar.gz
Updated version, added 32bit support, changed download name
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD16
2 files changed, 16 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7157cc43b6e1..d33e553eb605 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = gotop
pkgdesc = A TUI graphical activity monitor inspired by gtop
- pkgver = 1.0.0
+ pkgver = 1.0.1
pkgrel = 1
url = https://github.com/cjbassi/gotop
arch = x86_64
+ arch = i686
license = AGPLv3
provides = gotop
- source = https://github.com/cjbassi/gotop/releases/download/1.0.0/gotop-linux_amd64.tgz
+ source = https://github.com/cjbassi/gotop/releases/download/1.0.1/gotop-1.0.1-linux_amd64.tgz
md5sums = SKIP
pkgname = gotop
diff --git a/PKGBUILD b/PKGBUILD
index 118bcfeb1493..5aabb72c279a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,24 @@
# Maintainer: Caleb Bassi <calebjbassi@gmail.com>
pkgname=gotop
-pkgver=1.0.0
+pkgver=1.0.1
pkgrel=1
pkgdesc="A TUI graphical activity monitor inspired by gtop"
-arch=("x86_64")
+arch=("x86_64" "i686")
url="https://github.com/cjbassi/gotop"
license=("AGPLv3")
provides=("gotop")
-source=("https://github.com/cjbassi/gotop/releases/download/$pkgver/gotop-linux_amd64.tgz")
+
+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() {