From 79e716d2b53802606ab30addf86fbe20eec53596 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 18 Nov 2023 10:56:53 +0100 Subject: Add sshexec MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- sshexec/PKGBUILD | 21 +++++++++++++++++++++ sshexec/upload | 1 + 2 files changed, 22 insertions(+) create mode 100644 sshexec/PKGBUILD create mode 120000 sshexec/upload diff --git a/sshexec/PKGBUILD b/sshexec/PKGBUILD new file mode 100644 index 0000000..101f73d --- /dev/null +++ b/sshexec/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> +pkgname=sshexec +pkgver=1.0 +pkgrel=1 +pkgdesc="SSH wrapper that makes it easy to run commands directly in the SSH command" +arch=('x86_64') +url="https://codeberg.org/maandree/sshexec" +license=('custom:ISC') +depends=(openssh) +source=(sshexec-$pkgver.tar.gz::${url}/archive/${pkgver}.tar.gz) +sha256sums=(946b7068a55d33cf16f07727ac50ec0cfa52245c0114cebbe355409700e631e4) + +build() { + cd "${srcdir}/sshexec" + make DESTDIR="${pkgdir}/" PREFIX=/usr +} + +package() { + cd "${srcdir}/sshexec" + make DESTDIR="${pkgdir}/" PREFIX=/usr install +} diff --git a/sshexec/upload b/sshexec/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/sshexec/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file -- cgit v1.2.3-70-g09d2