# Contributor: Carlo Landmeter # Maintainer: Stuart Cardall pkgname=autossh pkgver=1.4g pkgrel=3 pkgdesc="Automatically restart SSH sessions and tunnels" url="https://www.harding.motd.ca/autossh/" arch="all" license="MIT" depends="openssh-client" options="!check" # no unit tests available subpackages="$pkgname-doc" source="https://www.harding.motd.ca/autossh/autossh-$pkgver.tgz README.alpine " build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var make } 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 -Dm644 "$srcdir"/README.alpine \ "$pkgdir"/usr/share/doc/$pkgname/README.alpine } sha512sums="499b560d978736f4e764d5d828282fdaba1cbf94811ae6be0be5434d9c1cdc6ca5513d728b6372aa243843cb1b91e61cfc5fdeb77ddb0b6a7ce027218ba67466 autossh-1.4g.tgz 40cf39a391ad7320a07fbe8d4edd17498c92794f330393374406a0dbf4a0415d51e1fe11e6d2d07f399025bf8620b8937abd152c00be0297b30c6c3a876675cb README.alpine"