diff options
author | root <root@rshg054.dnsready.net> | 2012-04-30 00:01:38 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-30 00:01:38 +0000 |
commit | b7cd4b184f75d3d2b54b356e08f296df3a9afb38 (patch) | |
tree | dc5e84c1f7271cf0c8ec0221b5a22e48a884081a /extra/nx-common | |
parent | 4412991f6b4fd655fc1f51f8d79a0be0c10158b7 (diff) |
Mon Apr 30 00:01:38 UTC 2012
Diffstat (limited to 'extra/nx-common')
-rw-r--r-- | extra/nx-common/PKGBUILD | 54 |
1 files changed, 23 insertions, 31 deletions
diff --git a/extra/nx-common/PKGBUILD b/extra/nx-common/PKGBUILD index 6f7e14445..f5864f238 100644 --- a/extra/nx-common/PKGBUILD +++ b/extra/nx-common/PKGBUILD @@ -1,59 +1,51 @@ -# $Id: PKGBUILD 153969 2012-03-21 06:21:07Z pierre $ +# $Id: PKGBUILD 157435 2012-04-28 09:58:39Z andyrtr $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> # Contributed: eliott <eliott@solarblue.net>, Andre Naumann <anaumann@SPARCed.org> pkgname=nx-common pkgver=3.5.0 -pkgrel=4 +pkgrel=5 pkgdesc="NoMachine NX common package for client and server" arch=('i686' 'x86_64') license=('GPL') url="http://nomachine.com/" -depends=('libjpeg-turbo' 'libpng' 'openssl' 'gcc-libs' 'bash') -makedepends=('xorg-server-devel') -source=( #Compression libs and proxy sources - http://64.34.161.181/download/$pkgver/sources/nxcomp-$pkgver-2.tar.gz - http://64.34.161.181/download/$pkgver/sources/nxcompsh-$pkgver-1.tar.gz - http://64.34.161.181/download/$pkgver/sources/nxssh-$pkgver-2.tar.gz - nxcompsh-gcc43.patch - nx-3.5.0-libpng15.patch) -options=(!libtool) -md5sums=('ad8c0f133122c6d07732ca69c8759410' - '84ade443b79ea079380b754aba9d392e' +depends=('libjpeg-turbo' 'libpng' 'openssl' 'gcc-libs' 'libxcomp') # 'bash' +makedepends=('xorg-server-devel' 'nx-headers') +source=(http://64.34.161.181/download/$pkgver/sources/nxcompsh-$pkgver-1.tar.gz + http://64.34.161.181/download/$pkgver/sources/nxssh-$pkgver-2.tar.gz + nxcompsh-gcc43.patch) +options=('!libtool') +md5sums=('84ade443b79ea079380b754aba9d392e' 'f52fcdb38e09f8dcfb9ff0344dfbbbd6' - 'b6c279654dac421fc3dd1a27d66ff53c' - '2966353cabb96829eab291212ef078dc') + 'b6c279654dac421fc3dd1a27d66ff53c') build() { - # nxcomp - cd ${srcdir}/nxcomp - patch -Np1 -i ${srcdir}/nx-3.5.0-libpng15.patch - - ./configure --prefix=/opt/NX - make # nxcompsh cd ${srcdir}/nxcompsh patch -Np1 -i ${srcdir}/nxcompsh-gcc43.patch - - ./configure --prefix=/opt/NX + ./configure --prefix=/usr/lib/nx make + # nxssh cd ${srcdir}/nxssh - ./configure --prefix=/opt/NX + sed -i "s:NX.h:nx/NX.h:g" clientloop.c packet.c proxy.c + ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib make } package() { - mkdir -p ${pkgdir}/opt/NX/bin - mkdir -p ${pkgdir}/opt/NX/lib + install -dm755 ${pkgdir}/usr/{bin,lib/nx} - # nxcomp - cd ${srcdir}/nxcomp - cp -a libXcomp.so* ${pkgdir}/opt/NX/lib # nxcompsh cd ${srcdir}/nxcompsh - cp -a libXcompsh.so* ${pkgdir}/opt/NX/lib + cp -a libXcompsh.so* ${pkgdir}/usr/lib/nx + cd ${pkgdir}/usr/lib/ + ln -sv /usr/lib/nx/libXcompsh.so{,.3,.3.5.0} . + # ^ really needed? + # nxssh cd ${srcdir}/nxssh - install -D -m755 nxssh ${pkgdir}/opt/NX/bin/nxssh + install -D -m755 nxssh ${pkgdir}/usr/lib/nx/bin/nxssh + cd ${pkgdir}/usr/bin + ln -sv /usr/lib/nx/bin/nxssh . } |