summaryrefslogtreecommitdiff
path: root/community/autossh/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/autossh/PKGBUILD')
-rw-r--r--community/autossh/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/autossh/PKGBUILD b/community/autossh/PKGBUILD
new file mode 100644
index 000000000..dae94ca80
--- /dev/null
+++ b/community/autossh/PKGBUILD
@@ -0,0 +1,33 @@
+# Contributor: Ian Taylor <ian at lorf dot orgs>
+
+pkgname=autossh
+pkgver=1.4c
+pkgrel=1
+pkgdesc="Automatically restart SSH sessions and tunnels"
+arch=('i686' 'x86_64')
+url="http://www.harding.motd.ca/autossh/"
+license=('custom')
+depends=('openssh')
+source=("http://www.harding.motd.ca/autossh/$pkgname-$pkgver.tgz"
+ "LICENSE")
+md5sums=('26520eea934f296be0783dabe7fcfd28'
+ '5d65ce1eff3f2c72546a8343b18d67bf')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ msg "Configuring"
+ ./configure --prefix=$pkgdir/usr --sysconfdir=/etc --localstatedir=/var
+
+ msg "Building"
+ make
+
+ msg "Creating package"
+ install -D -m755 autossh $pkgdir/usr/bin/autossh
+ install -D -m644 CHANGES $pkgdir/usr/share/doc/autossh/CHANGES
+ install -D -m644 README $pkgdir/usr/share/doc/autossh/README
+ install -D -m644 autossh.host $pkgdir/usr/share/autossh/examples/autossh.host
+ install -D -m644 rscreen $pkgdir/usr/share/autossh/examples/rscreen
+ install -D -m644 autossh.1 $pkgdir/usr/share/man/man1/autossh.1
+ install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}