This repository has been archived on 2026-05-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
teleport-bin/PKGBUILD
T
Christian Heusel 9ac576e1c9 [Update] teleport-bin: 11.0.3
Signed-off-by: Christian Heusel <christian@heusel.eu>
2022-11-15 12:15:56 +01:00

55 lines
2.4 KiB
Bash

# Maintainer: Ariel AxionL <arielaxionl@gmail.com | axionl@aosc.io>
# Co-Maintainer: Maarten de Boer <maarten@cloudstek.nl>
# Co-Maintainer: Christian Heusel <christian@heusel.eu>
# Contributor: Johannes Pfrang <johannespfrang+arch @ gmail.com>
# Contributor: Emanuele 'Lele aka eldios' Calo' <xeldiosx@gmail.com>
_pkgname=teleport
pkgname=teleport-bin
pkgver=11.0.3
pkgrel=1
pkgdesc="Modern SSH server for teams managing distributed infrastructure"
arch=('i386' 'x86_64' 'armv7h' 'aarch64')
url="https://github.com/gravitational/teleport"
license=('Apache')
depends=()
provides=('teleport' 'tctl' 'tsh' 'tbot')
install=teleport.install
source=("teleport.service"
"teleport@.service"
"teleport.install")
source_i386=("teleport-bin-${pkgver}-i386.tar.gz::https://get.gravitational.com/teleport-v${pkgver}-linux-386-bin.tar.gz")
source_x86_64=("teleport-bin-${pkgver}-x86_64.tar.gz::https://get.gravitational.com/teleport-v${pkgver}-linux-amd64-bin.tar.gz")
source_armv7h=("teleport-bin-${pkgver}-armv7h.tar.gz::https://get.gravitational.com/teleport-v${pkgver}-linux-arm-bin.tar.gz")
source_aarch64=("teleport-bin-${pkgver}-aarch64.tar.gz::https://get.gravitational.com/teleport-v${pkgver}-linux-arm64-bin.tar.gz")
sha256sums=('22fd1ee136e9422458740811c9946de447105f26e87dbbc8daa35d17bd1f3894'
'21ca4e56c9c5e1ce11570894e85ded853e26e91cc2e16ed9114b3d6a2c5c22ef'
'ce2dd61cae3c0c3684e7e629f98b77551e66ddedca2194250a34f0efbc674f3a')
sha256sums_i386=('0de08749b93aa02260736e57092b1f723b3b8bdaf135f1ee58aef66645baad43')
sha256sums_x86_64=('a66c2b8f5fd03cdc7c0f11aac08ca35eb51a6d5ed9ca7438ba78c521ca62783e')
sha256sums_armv7h=('29ff470d02ba1da937a8aa2f55617d75e0001900ca98f24c7410f122373f2c4d')
sha256sums_aarch64=('fe28ff986a8cd11ab9221f5bf36de2d6b50123dd6273933bbc2977c2822fe166')
options=(!strip)
package() {
cd "${srcdir}/${_pkgname}"
# Install binaries
install -Dm755 teleport "${pkgdir}/usr/bin/teleport"
install -Dm755 tctl "${pkgdir}/usr/bin/tctl"
install -Dm755 tsh "${pkgdir}/usr/bin/tsh"
install -Dm755 tbot "${pkgdir}/usr/bin/tbot"
# Install services
install -Dm644 ${srcdir}/teleport.service "${pkgdir}/usr/lib/systemd/system/teleport.service"
install -Dm644 ${srcdir}/teleport@.service "${pkgdir}/usr/lib/systemd/system/teleport@.service"
# Copy example files
install -dm755 "${pkgdir}/usr/share/teleport"
cp -r examples "${pkgdir}/usr/share/teleport/"
}