summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 13 insertions, 3 deletions
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() {