summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9fab5cec728fa2e07a9e6c120357d9405c9f43ef (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
34
35
# Maintainer: David Stark <david@starkers.org>

pkgver=0.63
pkgrel=5
pkgname=telepresence
pkgdesc="Local development against a remote Kubernetes or OpenShift cluster - http://www.telepresence.io"
arch=('any')
license=('Apache')
url="https://github.com/datawire/telepresence"
makedepends=()
backup=()
depends=(
    'conntrack-tools'
    'git'
    'python'
    'python-virtualenv'
    'socat'
    'sshfs'
    'torsocks'
    )

source=("https://github.com/datawire/telepresence/archive/${pkgver}.tar.gz")
md5sums=('SKIP')

build(){
  cd "${srcdir}/${pkgname}-${pkgver}"
  make virtualenv/bin/sshuttle-telepresence
}

package(){
  install -Dm 755 "${srcdir}/${pkgname}-${pkgver}/cli/telepresence" "${pkgdir}/usr/bin/telepresence"
  install -Dm 755 "${srcdir}/${pkgname}-${pkgver}/virtualenv/bin/sshuttle-telepresence" "${pkgdir}/usr/bin/sshuttle-telepresence"
}

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