summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 5 insertions, 22 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 41b156cef46..ed44ec043fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: David Stark <david@starkers.org>
-pkgver=0.88
-pkgrel=17
+pkgver=0.93
+pkgrel=31
pkgname=telepresence
pkgdesc="Local development against a remote Kubernetes or OpenShift cluster - http://www.telepresence.io"
arch=('any')
@@ -22,28 +22,11 @@ depends=(
)
source=("https://github.com/datawire/telepresence/archive/${pkgver}.tar.gz")
-md5sums=('SKIP')
-
-build(){
- curl -Ls "https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64" -o dumb-init
- chmod +x dumb-init
- cd "${srcdir}/${pkgname}-${pkgver}"
- virtualenv --python=python3 telepresence-venv
- telepresence-venv/bin/pip install -r dev-requirements.txt
- telepresence-venv/bin/pip install .
-
-}
+md5sums=('2fd2e8fd6236985eccc25aa319306474')
package(){
-
- sed -i "s+${srcdir}/${pkgname}-${pkgver}+/opt/telepresence+g" "${srcdir}/${pkgname}-${pkgver}/telepresence-venv/bin/"*
- mkdir -p "${pkgdir}/opt/telepresence/"
- cp -R "${srcdir}/${pkgname}-${pkgver}/telepresence-venv/" "${pkgdir}/opt/telepresence/"
-
- install -Dm 755 "dumb-init" "${pkgdir}/opt/telepresence/dumb-init"
- install -Dm 755 "../wrapper-telepresence.sh" "${pkgdir}/usr/bin/telepresence"
- install -Dm 755 "../wrapper-stamp-telepresence.sh" "${pkgdir}/usr/bin/stamp-telepresence"
-
+ cd ${srcdir}/${pkgname}-${pkgver}
+ env PREFIX=${pkgdir}/usr ./install.sh
}
# vim:set ts=2 sw=2 et: