summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 95760f2770b31b13b7ef8c0955fd425130ae5cda (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: Tristan Webb <olafthefrog@gmail.com>

pkgname=ttyd-git
_gitname=ttyd
pkgver=r1.5.2_d8903e1
pkgrel=1
pkgdesc="Share your terminal over the web"
arch=('any')
url="https://github.com/tsl0922/ttyd.git"
license=('MIT')
builddepends=('cmake' 'base-devel')
depends=('libwebsockets')
source=(
  "git+https://github.com/tsl0922/ttyd.git"
  )
sha256sums=('SKIP')

build() {
    cd $srcdir/$_gitname && mkdir build
    cd build
    pwd
    cmake ..
    make 
}

package() {
  cd $srcdir/$_gitname/build
  make DESTDIR="${pkgdir}" install
  mv $pkgdir/usr/local/bin $pkgdir/usr/
  mv $pkgdir/usr/local/share $pkgdir/usr/
}

# vim:set ts=2 sw=2 et: