summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authororhun2020-09-14 02:05:38 +0300
committerorhun2020-09-14 02:05:38 +0300
commit197082d5e88a3a45a273045dea4c94fae830609e (patch)
treeeb7759d6c6dc5764e6a0d59c6fdc906b338b772c /PKGBUILD
parent6fec2db6bae9962483efce3e645f0e096f94dae1 (diff)
downloadaur-197082d5e88a3a45a273045dea4c94fae830609e.tar.gz
upgpkg: pkgtop-git 2.4.r0.g639b2fe-1
upstream release Update makedepends and the package function
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6f2a4940355..4e919a41595 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,8 +8,7 @@ pkgrel=1
arch=('x86_64')
url="https://github.com/orhun/pkgtop"
license=('GPL3')
-depends=('git')
-makedepends=('go')
+makedepends=('git' 'go')
source=("git+$url")
sha256sums=('SKIP')
@@ -30,5 +29,6 @@ build() {
package() {
cd "$srcdir/${pkgname%-git}/src"
- install -Dm755 "${pkgname%-git}" "$pkgdir/usr/local/bin/${pkgname%-git}"
+ install -Dm 755 "${pkgname%-git}" -t "$pkgdir/usr/bin"
+ install -Dm 644 "../README.md" -t "$pkgdir/usr/share/doc/${pkgname%-git}"
} \ No newline at end of file