summaryrefslogtreecommitdiff
path: root/extra/putty/PKGBUILD
blob: 6252fc40c8b089228b7244b41a0acd8ce0e0bfd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 57024 2009-10-31 09:56:01Z allan $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Andreas Schweitzer <andy@bootblock.de>
# with ideas by Michael Baehr

pkgname=putty
pkgver=0.60
pkgrel=2
pkgdesc="A terminal integrated SSH/Telnet client known from Windows."
arch=('i686' 'x86_64')
url="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
license=('custom')
depends=('gtk')
#source=(ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-latest/$pkgname-$pkgver.tar.gz)
source=("http://the.earth.li/~sgtatham/putty/latest/putty-$pkgver.tar.gz")
md5sums=('07e65fd98b16d115ae38a180bfb242e2')

build() {
  export CFLAGS="$CFLAGS -fno-strict-aliasing"
  cd $srcdir/$pkgname-$pkgver/unix
  ./configure --prefix=/usr
  make || return 1
  install -dm755 $pkgdir/usr/{bin,share/man/man1}
  make DESTDIR=$pkgdir install
  install -D -m644 ../LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}