[arch-commits] CVS update of extra/network/putty (PKGBUILD)
Eric Belanger
eric at archlinux.org
Wed Jul 4 03:27:11 UTC 2007
Date: Tuesday, July 3, 2007 @ 23:27:11
Author: eric
Path: /home/cvs-extra/extra/network/putty
Modified: PKGBUILD (1.6 -> 1.7)
upgpkg: putty 0.60-1
added license, arch field
----------+
PKGBUILD | 29 ++++++++++-------------------
1 file changed, 10 insertions(+), 19 deletions(-)
Index: extra/network/putty/PKGBUILD
diff -u extra/network/putty/PKGBUILD:1.6 extra/network/putty/PKGBUILD:1.7
--- extra/network/putty/PKGBUILD:1.6 Sat Jan 27 17:12:35 2007
+++ extra/network/putty/PKGBUILD Tue Jul 3 23:27:11 2007
@@ -1,34 +1,25 @@
-# $Id: PKGBUILD,v 1.6 2007/01/27 22:12:35 damir Exp $
+# $Id: PKGBUILD,v 1.7 2007/07/04 03:27:11 eric Exp $
# Maintainer: damir <damir at archlinux.org>
# Contributor: Andreas Schweitzer <andy at bootblock.de>
# with ideas by Michael Baehr
pkgname=putty
-pkgver=0.59
+pkgver=0.60
pkgrel=1
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")
-
-
-
-
-
-export GZIP="-q -f"
+md5sums=('07e65fd98b16d115ae38a180bfb242e2')
build() {
- export carchflags=$CFLAGS
cd $startdir/src/$pkgname-$pkgver/unix
- sed -i s+"usr/local"+"usr"+ Makefile.gtk
- sed -i s+"INSTALL=install"+"INSTALL=install -D"+ Makefile.gtk
- sed -i s+"CFLAGS ="+"CFLAGS = \$(carchflags)"+ Makefile.gtk
- sed -i s+"^.*pscp.1"+"#"+ Makefile.gtk
- sed -i s+"^.*psftp.1"+"#"+ Makefile.gtk
- make -f Makefile.gtk || return 1
- make DESTDIR=$startdir/pkg -f Makefile.gtk install
+ ./configure --prefix=/usr
+ make || return 1
+ mkdir -p $startdir/pkg/usr/{bin,share/man/man1}
+ make DESTDIR=$startdir/pkg install
+ install -D -m644 ../LICENCE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}
-md5sums=('2c90f3aecd2e4b41df61fb047a6c8f11')
More information about the arch-commits
mailing list