[arch-commits] Commit in nx-common/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Mon Apr 16 14:21:41 EDT 2012


    Date: Monday, April 16, 2012 @ 14:21:41
  Author: andyrtr
Revision: 156292

upgpkg: nx-common 3.5.0-4.2

add required symlinks

Modified:
  nx-common/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-16 18:16:02 UTC (rev 156291)
+++ PKGBUILD	2012-04-16 18:21:41 UTC (rev 156292)
@@ -4,7 +4,7 @@
 
 pkgname=nx-common
 pkgver=3.5.0
-pkgrel=4.1
+pkgrel=4.2
 pkgdesc="NoMachine NX common package for client and server"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -36,10 +36,17 @@
 package() {
   install -dm755 ${pkgdir}/usr/{bin,lib/nx}
 
+
   # nxcompsh
   cd ${srcdir}/nxcompsh
-  cp -a libXcompsh.so* ${pkgdir}/usr/lib/nx # really needed?
+  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}/usr/bin/nxssh
+  install -D -m755 nxssh ${pkgdir}/usr/lib/nx/bin/nxssh
+  cd ${pkgdir}/usr/bin
+  ln -sv /usr/lib/nx/bin/nxssh .
 }



More information about the arch-commits mailing list