summaryrefslogtreecommitdiff
path: root/community/autossh/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/autossh/PKGBUILD')
-rw-r--r--community/autossh/PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/community/autossh/PKGBUILD b/community/autossh/PKGBUILD
index dae94ca80..4574b55a5 100644
--- a/community/autossh/PKGBUILD
+++ b/community/autossh/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=autossh
pkgver=1.4c
-pkgrel=1
+pkgrel=2
pkgdesc="Automatically restart SSH sessions and tunnels"
arch=('i686' 'x86_64')
url="http://www.harding.motd.ca/autossh/"
@@ -11,18 +11,16 @@ depends=('openssh')
source=("http://www.harding.motd.ca/autossh/$pkgname-$pkgver.tgz"
"LICENSE")
md5sums=('26520eea934f296be0783dabe7fcfd28'
- '5d65ce1eff3f2c72546a8343b18d67bf')
+ '663dffbc9a1adbf1d1b19a3e4ab318ad')
build() {
cd $srcdir/$pkgname-$pkgver
-
- msg "Configuring"
./configure --prefix=$pkgdir/usr --sysconfdir=/etc --localstatedir=/var
-
- msg "Building"
make
+}
- msg "Creating package"
+package() {
+ cd $srcdir/$pkgname-$pkgver
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