🔒 Repository is read-only – file editing is disabled.

recipes/utils/mosh/PAGBUILD.yaml main

39 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536373839
pkgname: mosh
pkgver: '1.4.0'
pkgrel: '14'
pkgdesc: 'Mobile shell, surviving disconnects with local echo and line editing.'
url: 'https://mosh.mit.edu/'
arch: x86_64
depends: []
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