[arch-commits] Commit in (opennx opennx/repos opennx/trunk opennx/trunk/PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Sun Jun 24 08:17:30 UTC 2012


    Date: Sunday, June 24, 2012 @ 04:17:29
  Author: andyrtr
Revision: 162239

add opennx pkg; an open source replacement for the closed NoMachine nxclient pkg

Added:
  opennx/
  opennx/repos/
  opennx/trunk/
  opennx/trunk/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Added: opennx/trunk/PKGBUILD
===================================================================
--- opennx/trunk/PKGBUILD	                        (rev 0)
+++ opennx/trunk/PKGBUILD	2012-06-24 08:17:29 UTC (rev 162239)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Armin Luntzer
+# Original opennx PKGBUILD: Tomas Groth tomasgroth.at.yahoo.dk
+
+pkgname=opennx
+pkgver=0.16.0.712
+pkgrel=1
+pkgdesc="A GPL replacement for the NoMachine client, patched to always show the session chooser"
+url="http://opennx.sf.net/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('wxgtk' 'libcups' 'libxext' 'libxft' 'xorg-xauth' 'curl')
+makedepends=('zip' 'opensc' 'libpulse' 'smbclient' 'libusb-compat')
+#optdepends=('cups: for full local printing support')
+source=(http://downloads.sourceforge.net/project/opennx/opennx/CI-source/opennx-$pkgver.tar.gz)
+md5sums=('f9cf99a9dc13de9ef6d219db83dec344')
+
+build() {
+  cd $srcdir/opennx*
+#  autoreconf -vfi
+  ./configure --prefix=/usr \
+    --enable-usbip #--help
+  make
+}
+
+package() {
+  cd $srcdir/opennx*
+  make DESTDIR=${pkgdir} install
+  make DESTDIR=${pkgdir} install-man
+  
+  # fix some file locations
+  install -dm755 ${pkgdir}/usr/share/applications
+  cp -aR ${pkgdir}/usr/share/applnk/xdg/* ${pkgdir}/usr/share/applications
+  rm -rf ${pkgdir}/usr/share/applnk
+  
+  sed -i -e "s:Exec=/usr/NX/bin/opennx:Exec=/usr/bin/opennx:" ${pkgdir}/usr/share/applications/*.desktop
+}


Property changes on: opennx/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list