[arch-commits] CVS update of extra/network/tightvnc (PKGBUILD)

Paul Mattal paul at archlinux.org
Fri Jun 22 01:31:02 UTC 2007


    Date: Thursday, June 21, 2007 @ 21:31:02
  Author: paul
    Path: /home/cvs-extra/extra/network/tightvnc

Modified: PKGBUILD (1.11 -> 1.12)

upgpkg: tightvnc 1.3.9-1
update to 1.3.9


----------+
 PKGBUILD |   39 ++++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 19 deletions(-)


Index: extra/network/tightvnc/PKGBUILD
diff -u extra/network/tightvnc/PKGBUILD:1.11 extra/network/tightvnc/PKGBUILD:1.12
--- extra/network/tightvnc/PKGBUILD:1.11	Thu Mar 29 12:36:25 2007
+++ extra/network/tightvnc/PKGBUILD	Thu Jun 21 21:31:02 2007
@@ -1,40 +1,41 @@
-# $Id: PKGBUILD,v 1.11 2007/03/29 16:36:25 jgc Exp $
-# Maintainer: dorphell <dorphell at archlinux.org>
+# $Id: PKGBUILD,v 1.12 2007/06/22 01:31:02 paul Exp $
+# Maintainer: Paul Mattal <paul at archlinux.org>
 pkgname=tightvnc
-pkgver=1.2.9
-pkgrel=4.1
+pkgver=1.3.9
+pkgrel=1
 pkgdesc="VNC Unix server && viewer"
 arch=(i686 x86_64)
+license=('GPL')
 url="http://www.tightvnc.com"
 depends=('libjpeg' 'zlib' 'libxaw')
 makedepends=('imake')
 conflicts=('vnc')
-source=(http://switch.dl.sourceforge.net/sourceforge/vnc-tight/$pkgname-${pkgver}_unixsrc.tar.gz fix_1.2.9.patch \
+source=(http://dl.sf.net/sourceforge/vnc-tight/$pkgname-${pkgver}_unixsrc.tar.bz2 tightvnc-fontpath-xcolors.patch \
 	tightvnc-1.3dev7-x86_64-fix.patch tightvnc-1.2.9-amd64.patch)
 
-md5sums=('ba277dc56a0cfed2e4fba778f219cd08' '838635e03305c1a783da26a3b8b70cd0'\
+md5sums=('49a0748ea52793f2e3069e05af28f716' 'bca34e7e6e5ac578562bf5b7dadcd225' \
          'e4d9f4c51aacd65ed1dd3dfcd6a46541' '7f0dcab7d01dfc820fabe9a79872085c')
 build() {
-  export MAKEFLAGS="-j1"
-
-  cd $startdir/src/vnc_unixsrc
-  patch -Np0 -i ${startdir}/src/fix_1.2.9.patch || return 1
+  cd $startdir/src/vnc_unixsrc || return 1
+  patch -Np1 -i ../tightvnc-fontpath-xcolors.patch || return 1
 
   if [ "$CARCH" = "x86_64" ]; then
   	  patch -p1 -i $startdir/src/tightvnc-1.3dev7-x86_64-fix.patch
 	  patch -p1 -i $startdir/src/tightvnc-1.2.9-amd64.patch
   fi 
-  xmkmf
+  xmkmf || return 1
   make World || return 1
-  cd Xvnc
-  ./configure
-  sed 's|PROTO_DEFINES =|PROTO_DEFINES = -D_XOPEN_SOURCE=500L|' -i programs/Xserver/os/Makefile lib/font/fc/Makefile
+  cd Xvnc || return 1
+  ./configure || return 1
+  sed 's|PROTO_DEFINES =|PROTO_DEFINES = -D_XOPEN_SOURCE=500L|' \
+  	-i programs/Xserver/os/Makefile lib/font/fc/Makefile || return 1
   make || return 1
-  cd ..
-  mkdir -p $startdir/pkg/usr/bin $startdir/pkg/usr/man/man1
-  ./vncinstall $startdir/pkg/usr/bin $startdir/pkg/usr/man
+  cd .. || return 1
+  mkdir -p $startdir/pkg/usr/bin $startdir/pkg/usr/man/man1 || return 1
+  ./vncinstall $startdir/pkg/usr/bin $startdir/pkg/usr/man || return 1
   
   # install java classes
-  mkdir -p $startdir/pkg/usr/share/vnc/classes
-  install -D -m644 $startdir/src/vnc_unixsrc/classes/* $startdir/pkg/usr/share/vnc/classes
+  mkdir -p $startdir/pkg/usr/share/vnc/classes || return 1
+  install -D -m644 $startdir/src/vnc_unixsrc/classes/* \
+  	$startdir/pkg/usr/share/vnc/classes || return 1
 }




More information about the arch-commits mailing list