diff options
author | Caleb Bassi | 2018-12-16 23:51:46 -0800 |
---|---|---|
committer | Caleb Bassi | 2018-12-16 23:51:46 -0800 |
commit | 79dcfa601c5c9d5766364f3592a134b74b515678 (patch) | |
tree | c99425de2a025389535b9145ad3b77da9d5674b7 | |
parent | 19f4a814ca2d82fcbff8b8fba45230f19774338c (diff) | |
download | aur-79dcfa601c5c9d5766364f3592a134b74b515678.tar.gz |
Add suggestions from @willemw
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 4 deletions
@@ -1,12 +1,13 @@ pkgbase = gotop-bin pkgdesc = A terminal based graphical activity monitor inspired by gtop and vtop pkgver = 1.7.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/cjbassi/gotop arch = x86_64 arch = i686 license = AGPL3 provides = gotop + conflicts = gotop source = https://github.com/cjbassi/gotop/releases/download/1.7.1/gotop_1.7.1_linux_amd64.tgz sha256sums = ee36818daed804e32e19b8b7024a30d8a0200898cc9670d540d5af175db6ec93 @@ -2,12 +2,13 @@ pkgname=gotop-bin pkgver=1.7.1 -pkgrel=1 +pkgrel=2 pkgdesc="A terminal based graphical activity monitor inspired by gtop and vtop" arch=("x86_64" "i686") url="https://github.com/cjbassi/gotop" license=("AGPL3") provides=("gotop") +conflicts=("gotop") case "$CARCH" in x86_64) @@ -22,6 +23,5 @@ source=("https://github.com/cjbassi/gotop/releases/download/$pkgver/gotop_${pkgv sha256sums=("ee36818daed804e32e19b8b7024a30d8a0200898cc9670d540d5af175db6ec93") package() { - mkdir -p "$pkgdir/usr/bin" - mv $srcdir/gotop $pkgdir/usr/bin + install -Dm755 "$srcdir/gotop" "$pkgdir/usr/bin/gotop" } |