Add mosh - The mobile shell

This commit is contained in:
Heiko Irrgang
2023-11-26 08:45:07 +01:00
parent e362f6626c
commit 3b38c124bd
3 changed files with 28 additions and 0 deletions

1
main/mosh/.checksums Normal file
View File

@@ -0,0 +1 @@
c34a647f8545565d79188acacaea7559 mosh-1.4.0.tar.gz

12
main/mosh/.pkgfiles Normal file
View File

@@ -0,0 +1,12 @@
mosh-1.4.0-1
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/mosh
-rwxr-xr-x root/root usr/bin/mosh-client
-rwxr-xr-x root/root usr/bin/mosh-server
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/mosh-client.1.gz
-rw-r--r-- root/root usr/share/man/man1/mosh-server.1.gz
-rw-r--r-- root/root usr/share/man/man1/mosh.1.gz

15
main/mosh/spkgbuild Normal file
View File

@@ -0,0 +1,15 @@
# description : Mobile shell, surviving disconnects with local echo and line editing
# homepage : https://mosh.org
# depends : nettle protobuf
name=mosh
version=1.4.0
release=1
source="https://mosh.org/$name-$version.tar.gz"
build() {
cd $name-$version
CXXFLAGS="$CXXFLAGS -std=gnu++17" ./configure --prefix=/usr
make
make DESTDIR=$PKG install
}