mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
37 lines
1.3 KiB
Bash
37 lines
1.3 KiB
Bash
# $Id: PKGBUILD 43917 2009-06-30 07:03:32Z allan $
|
|
# Maintainer: Paul Mattal <paul@archlinux.org>
|
|
pkgname=tightvnc
|
|
pkgver=1.3.10
|
|
pkgrel=2
|
|
pkgdesc="VNC Unix server && viewer"
|
|
arch=(i686 x86_64)
|
|
license=('GPL')
|
|
url="http://www.tightvnc.com"
|
|
depends=('libjpeg>=7' 'zlib' 'libxaw' 'libxp')
|
|
makedepends=('imake')
|
|
conflicts=('vnc')
|
|
options=(!makeflags)
|
|
source=(http://downloads.sf.net/sourceforge/vnc-tight/$pkgname-${pkgver}_unixsrc.tar.bz2 tightvnc-fontpath-xcolors.patch)
|
|
md5sums=('397b35faad32d5246b6d44b142f8304f' '21aa7f3376ec3c608ff22d199a19c601')
|
|
|
|
build() {
|
|
cd $startdir/src/vnc_unixsrc || return 1
|
|
patch -Np1 -i ../tightvnc-fontpath-xcolors.patch || return 1
|
|
sed -i 's|/usr/local/|/usr/share/|' vncserver || return 1
|
|
|
|
xmkmf || return 1
|
|
make World || return 1
|
|
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 .. || 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 || return 1
|
|
install -D -m644 $startdir/src/vnc_unixsrc/classes/* \
|
|
$startdir/pkg/usr/share/vnc/classes || return 1
|
|
}
|