diff options
Diffstat (limited to 'extra/putty/PKGBUILD')
-rw-r--r-- | extra/putty/PKGBUILD | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/extra/putty/PKGBUILD b/extra/putty/PKGBUILD index 6252fc40c..c4b3adcc9 100644 --- a/extra/putty/PKGBUILD +++ b/extra/putty/PKGBUILD @@ -1,26 +1,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 +# $Id: PKGBUILD 131725 2011-07-14 01:51:53Z eric $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=putty -pkgver=0.60 -pkgrel=2 -pkgdesc="A terminal integrated SSH/Telnet client known from Windows." +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=('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') +license=('MIT') +depends=('gtk2') +source=(http://the.earth.li/~sgtatham/putty/${pkgver}/${pkgname}-${pkgver}.tar.gz) +md5sums=('db0e37f6b82ea62f0ace87927d29b2a4') +sha1sums=('cbb82fd392142e3455e859ca8bc7b1e61b246204') build() { - export CFLAGS="$CFLAGS -fno-strict-aliasing" - cd $srcdir/$pkgname-$pkgver/unix + 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 + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}/unix" + make DESTDIR="${pkgdir}" install + install -D -m644 ../LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |