2012-02-25 18:35:00 +00:00
|
|
|
# $Id: PKGBUILD 150962 2012-02-24 10:13:24Z pierre $
|
2011-11-29 23:15:12 +00:00
|
|
|
# Maintainer: Paul Mattal <paul@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - patch to enable ARM building, contributed by vahokif
|
|
|
|
|
|
|
|
plugrel=1
|
|
|
|
|
|
|
|
pkgname=tightvnc
|
|
|
|
pkgver=1.3.10
|
2012-02-25 18:35:00 +00:00
|
|
|
pkgrel=6
|
2011-11-29 23:15:12 +00:00
|
|
|
pkgdesc="VNC Unix server && viewer"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
license=('GPL')
|
|
|
|
url="http://www.tightvnc.com"
|
2012-02-25 18:35:00 +00:00
|
|
|
depends=('libjpeg' 'zlib' 'libxaw' 'libxp' 'xorg-xauth')
|
2011-11-29 23:15:12 +00:00
|
|
|
makedepends=('imake')
|
|
|
|
conflicts=('vnc')
|
2012-02-25 18:35:00 +00:00
|
|
|
options=('!makeflags')
|
|
|
|
source=("http://downloads.sf.net/sourceforge/vnc-tight/$pkgname-${pkgver}_unixsrc.tar.bz2"
|
|
|
|
'tightvnc-fontpath-xcolors.patch'
|
|
|
|
'tightvnc-1.3.10-arm.patch')
|
2011-11-29 23:15:12 +00:00
|
|
|
md5sums=('397b35faad32d5246b6d44b142f8304f'
|
|
|
|
'21aa7f3376ec3c608ff22d199a19c601'
|
|
|
|
'0c10d9cd275d90ba5f13ffe3109443a2')
|
|
|
|
|
|
|
|
build() {
|
2012-02-25 18:35:00 +00:00
|
|
|
cd $srcdir/vnc_unixsrc
|
|
|
|
patch -Np1 -i ../tightvnc-fontpath-xcolors.patch
|
2011-11-29 23:15:12 +00:00
|
|
|
patch -Np1 -i ../tightvnc-1.3.10-arm.patch
|
2012-02-25 18:35:00 +00:00
|
|
|
sed -i 's|/usr/local/|/usr/share/|' vncserver
|
2011-11-29 23:15:12 +00:00
|
|
|
|
2012-02-25 18:35:00 +00:00
|
|
|
xmkmf
|
|
|
|
make World
|
|
|
|
cd Xvnc
|
|
|
|
./configure
|
2011-11-29 23:15:12 +00:00
|
|
|
sed 's|PROTO_DEFINES =|PROTO_DEFINES = -D_XOPEN_SOURCE=500L|' \
|
2012-02-25 18:35:00 +00:00
|
|
|
-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
|
|
|
|
|
2011-11-29 23:15:12 +00:00
|
|
|
# install java classes
|
2012-02-25 18:35:00 +00:00
|
|
|
mkdir -p $pkgdir/usr/share/vnc/classes
|
2011-11-29 23:15:12 +00:00
|
|
|
install -Dm644 $srcdir/vnc_unixsrc/classes/* \
|
2012-02-25 18:35:00 +00:00
|
|
|
$pkgdir/usr/share/vnc/classes
|
2011-11-29 23:15:12 +00:00
|
|
|
}
|