38 lines
1.3 KiB
Bash
38 lines
1.3 KiB
Bash
# Maintainer: Johannes Pfrang <johannespfrang+arch @ gmail.com>
|
|
# Co-Maintainer: Emanuele 'Lele aka eldios' Calo' <xeldiosx@gmail.com>
|
|
# Co-Maintainer: Ariel AxionL <arielaxionl@gmail.com | axionl@aosc.io>
|
|
|
|
pkgname=teleport
|
|
pkgver=2.6.2
|
|
pkgrel=1
|
|
pkgdesc="Modern SSH server for teams managing distributed infrastructure"
|
|
arch=('x86_64' 'arm')
|
|
url="https://gravitational.com/teleport"
|
|
license=('Apache')
|
|
depends=('glibc')
|
|
install=teleport.install
|
|
source_x86_64=(
|
|
"https://get.gravitational.com/teleport-v${pkgver}-linux-amd64-bin.tar.gz"
|
|
"teleport.service"
|
|
)
|
|
sha256sums_x86_64=(
|
|
'd2918db9fccc0346dde66f57e6c82035759095fabafade8c1c3d93b003733ac0'
|
|
'3e332207cfa984a531044d47fde379a9c242aa92e0fef7804a031dff865396dc'
|
|
)
|
|
source_arm=(
|
|
"https://github.com/gravitational/teleport/releases/download/v${pkgver}/teleport-v${pkgver}-linux-arm-bin.tar.gz"
|
|
"teleport.service"
|
|
)
|
|
sha256sums_arm=(
|
|
'caef6827cbc31af4a8a49997c54272e1661f7a112d47b06153d4afd88d23b5fb'
|
|
'3e332207cfa984a531044d47fde379a9c242aa92e0fef7804a031dff865396dc'
|
|
)
|
|
options=(!strip)
|
|
|
|
package() {
|
|
mkdir -p "${pkgdir}/usr/lib/systemd/system" "${pkgdir}/usr/bin"
|
|
install -m644 -t "${pkgdir}/usr/lib/systemd/system/" teleport.service
|
|
cd "${srcdir}/teleport"
|
|
install -m755 -t "${pkgdir}/usr/bin/" teleport tctl tsh
|
|
# no man pages, docs or web assets in release tarball
|
|
} |