🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041
pkgname: mosh
pkgver: '1.4.0'
pkgrel: '15'
pkgdesc: 'Mobile shell, surviving disconnects with local echo and line editing.'
url: 'https://mosh.mit.edu/'
arch: x86_64
depends:
- ncurses
- openssl
makedepends:
- pkgconf
- protobuf
- ncurses
- zlib
- openssh
- openssl
- 'perl-io-tty'
- libutempter
source:
- 'https://github.com/mobile-shell/mosh/archive/refs/tags/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
cd ${pkgname}-${pkgver}
# protobuf 23 requires C++17
sed -e 's|\[11\]|\[17\]|' -i configure.ac
./autogen.sh
./configure --prefix=/usr \
--sysconfdir=/etc/mosh
make
make DESTDIR=${PKGDIR} install
install -Dm644 "conf/bash-completion/completions/${pkgname}" \
"${PKGDIR}/usr/share/bash-completion/completions/${pkgname}"
package: |
true