summaryrefslogtreecommitdiff
path: root/extra/putty/PKGBUILD
blob: b3b357b24bf9f6e83e149263b3db74fb6ee93719 (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
27
28
# $Id: PKGBUILD 192256 2013-08-09 00:29:07Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=putty
pkgver=0.63
pkgrel=1
pkgdesc="A terminal integrated SSH/Telnet client"
arch=('i686' 'x86_64' 'mips64el')
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
        putty-${pkgver}.tar.gz.sig::http://the.earth.li/~sgtatham/putty/latest/putty-${pkgver}.tar.gz.DSA)
sha1sums=('195c0603ef61082b91276faa8d4246ea472bba3b'
          '77a3c246485071f7c2ac7101778bdc6bd4918a6b')

build() {
  cd ${pkgname}-${pkgver}/unix
  sed -i 's/-Werror//' configure
  ./configure --prefix=/usr
  make
}

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