summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 287c4f8588f6fb4fb87621cd1ec46baeb43c01d3 (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
# Maintainer: Daniel M. Capella <polyzen@archlinux.info>

pkgname=gotty
pkgver=1.0.1
pkgrel=1
epoch=1
pkgdesc='Share your terminal as a web application'
url=https://github.com/yudai/gotty
arch=('any')
license=('MIT')
makedepends=('git' 'go')

build() {
  GOPATH="$srcdir" go get github.com/yudai/gotty
}

package() {
  install -Dm755 bin/gotty "$pkgdir"/usr/bin/$pkgname
  install -Dm644 "$srcdir"/src/github.com/yudai/gotty/LICENSE \
    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

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