summaryrefslogtreecommitdiff
path: root/extra/putty/PKGBUILD
blob: c4b3adcc9b7871f79939010884c5601e66983dd3 (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 131725 2011-07-14 01:51:53Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=putty
pkgver=0.61
pkgrel=1
pkgdesc="A terminal integrated SSH/Telnet client"
arch=('i686' 'x86_64')
url="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
license=('MIT')
depends=('gtk2')
source=(http://the.earth.li/~sgtatham/putty/${pkgver}/${pkgname}-${pkgver}.tar.gz)
md5sums=('db0e37f6b82ea62f0ace87927d29b2a4')
sha1sums=('cbb82fd392142e3455e859ca8bc7b1e61b246204')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}/unix"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}/unix"
  make DESTDIR="${pkgdir}" install
  install -D -m644 ../LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}