updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / zssh / PKGBUILD
blob9fd54bfcd23d4734d5c71bdc882aa53fc6a95f03
1 # Contributor: Ross Eldridge <ptepid@ptepid.org>
2 pkgname=zssh
3 pkgver=1.5c
4 pkgrel=5
5 pkgdesc="SSH and Telnet client with ZMODEM file transfer capability"
6 arch="i686 x86_64"
7 license="GPL"
8 url="http://zssh.sourceforge.net/"
9 depends=('readline')
10 source=(http://switch.dl.sourceforge.net/sourceforge/zssh/$pkgname-$pkgver.tgz 04_GNU_openpty.patch)
11 md5sums=('9f140ec2705a96d6a936b7dca0e8dd13' '8132f38155298a89b72636e0e0e316d4')
13 build() {
14         cd $startdir/src/$pkgname-$pkgver
16         mkdir -p $startdir/pkg/usr/bin
17         mkdir -p $startdir/pkg/usr/man/man1
18         mkdir -p $startdir/pkg/usr/share/man/man1
19         patch -p1 < $startdir/04_GNU_openpty.patch
20         ./configure --prefix=$startdir/pkg/usr
21         make || return 1
22         make install
23         chmod a+r $startdir/pkg/usr/bin/*
24         mv $startdir/pkg/usr/man/man1/* $startdir/pkg/usr/share/man/man1/
25         rm -rf $startdir/pkg/usr/man