summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 44ec504f32aa85ddd82309621c08a82018d47b8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Zachary Massey (echtoplasm) <zacharyamassey@gmail.com>
pkgname=gshell
pkgver=0.1
pkgrel=1
pkgdesc="A customizable terminal system monitor for Kitty with GIF support (BETA)"
arch=('x86_64')
url="https://github.com/echtoplasm/gshell"
license=('MIT')
depends=('kitty' 'ftxui')
makedepends=('cmake' 'git')
source=("git+https://github.com/echtoplasm/gshell.git#tag=v${pkgver}")
sha256sums=('SKIP')

build() {
    cd "$pkgname"
    
    mkdir -p build
    cd build
    
    cmake .. \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr
    
    make
}

package() {
    cd "$pkgname/build"
    
    install -Dm755 gshell "$pkgdir/usr/bin/gshell"
    install -Dm644 ../README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
    install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}