diff --git a/main/mosh/.checksums b/main/mosh/.checksums new file mode 100644 index 000000000..d11e327ac --- /dev/null +++ b/main/mosh/.checksums @@ -0,0 +1 @@ +c34a647f8545565d79188acacaea7559 mosh-1.4.0.tar.gz diff --git a/main/mosh/.pkgfiles b/main/mosh/.pkgfiles new file mode 100644 index 000000000..50c983d99 --- /dev/null +++ b/main/mosh/.pkgfiles @@ -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 diff --git a/main/mosh/spkgbuild b/main/mosh/spkgbuild new file mode 100644 index 000000000..82b7d0c26 --- /dev/null +++ b/main/mosh/spkgbuild @@ -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 +}