diff options
author | root <root@rshg054.dnsready.net> | 2012-02-25 23:15:06 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-25 23:15:06 +0000 |
commit | e4a5730eb358cb0d78bc022204ddccac068c2bf2 (patch) | |
tree | 8dc9d2ac6b1313cb68be1a6c8b51500397f8b225 /extra/tightvnc/PKGBUILD | |
parent | 299e917c17619f800f0c21cf43209065b608223f (diff) |
Sat Feb 25 23:15:06 UTC 2012
Diffstat (limited to 'extra/tightvnc/PKGBUILD')
-rw-r--r-- | extra/tightvnc/PKGBUILD | 45 |
1 files changed, 24 insertions, 21 deletions
diff --git a/extra/tightvnc/PKGBUILD b/extra/tightvnc/PKGBUILD index 642ba8d7f..881aa1cfb 100644 --- a/extra/tightvnc/PKGBUILD +++ b/extra/tightvnc/PKGBUILD @@ -1,39 +1,42 @@ -# $Id: PKGBUILD 64786 2010-01-22 07:44:39Z eric $ +# $Id: PKGBUILD 150962 2012-02-24 10:13:24Z pierre $ # Maintainer: Paul Mattal <paul@archlinux.org> pkgname=tightvnc pkgver=1.3.10 -pkgrel=5 +pkgrel=6 pkgdesc="VNC Unix server && viewer" arch=('i686' 'x86_64') license=('GPL') url="http://www.tightvnc.com" -depends=('libjpeg>=7' 'zlib' 'libxaw' 'libxp' 'xorg-xauth') +depends=('libjpeg' 'zlib' 'libxaw' 'libxp' 'xorg-xauth') makedepends=('imake') conflicts=('vnc') -options=(!makeflags) -source=(http://downloads.sf.net/sourceforge/vnc-tight/$pkgname-${pkgver}_unixsrc.tar.bz2 - tightvnc-fontpath-xcolors.patch) +options=('!makeflags') +source=("http://downloads.sf.net/sourceforge/vnc-tight/$pkgname-${pkgver}_unixsrc.tar.bz2" + 'tightvnc-fontpath-xcolors.patch') md5sums=('397b35faad32d5246b6d44b142f8304f' '21aa7f3376ec3c608ff22d199a19c601') build() { - cd $srcdir/vnc_unixsrc || return 1 - patch -Np1 -i ../tightvnc-fontpath-xcolors.patch || return 1 - sed -i 's|/usr/local/|/usr/share/|' vncserver || return 1 + cd $srcdir/vnc_unixsrc + patch -Np1 -i ../tightvnc-fontpath-xcolors.patch + sed -i 's|/usr/local/|/usr/share/|' vncserver - xmkmf || return 1 - make World || return 1 - cd Xvnc || return 1 - ./configure || return 1 + xmkmf + make World + cd Xvnc + ./configure 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 .. || return 1 - mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/man/man1 || return 1 - ./vncinstall $pkgdir/usr/bin $pkgdir/usr/share/man || return 1 - + -i programs/Xserver/os/Makefile lib/font/fc/Makefile + make +} + +package() { + cd $srcdir/vnc_unixsrc + mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/man/man1 + ./vncinstall $pkgdir/usr/bin $pkgdir/usr/share/man + # install java classes - mkdir -p $pkgdir/usr/share/vnc/classes || return 1 + mkdir -p $pkgdir/usr/share/vnc/classes install -Dm644 $srcdir/vnc_unixsrc/classes/* \ - $pkgdir/usr/share/vnc/classes || return 1 + $pkgdir/usr/share/vnc/classes } |