milis/talimatname/genel/g/gtop/talimat

24 lines
563 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Terminal için sistem izleme kontrol paneli
# URL: https://github.com/aksakalli/gtop
# Paketçi: Cihan_Alkan
# Gerekler: node
# Grup: sistem
isim=gtop
surum=0.1.4
devir=1
kaynak=(https://github.com/aksakalli/gtop/archive/v${surum}.tar.gz::$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
npm install --production
cd $SRC
local _npmdir="$PKG/usr/lib/node_modules"
mkdir -p "$_npmdir"
cp -R "$SRC/$isim-$surum" "$_npmdir/gtop"
local _bindir="$PKG/usr/bin"
mkdir -p "$_bindir"
ln -s /usr/lib/node_modules/gtop/bin/gtop "$_bindir/gtop"
}