summaryrefslogtreecommitdiff
path: root/extra/opennx/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-06-26 10:36:11 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-06-26 10:36:11 -0300
commit33f415176525625b793cdfa66f3fc5828214a34e (patch)
tree4f60a7d083ef4d8d0324f840d13267e58d790a17 /extra/opennx/PKGBUILD
parent14a4ed053872549facd5a1f4817bee71bb21c8f7 (diff)
parent9a6b691757346035549dbd12d1323301d04a6675 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: multilib/lib32-libphobos-ldc/PKGBUILD multilib/wine_gecko/PKGBUILD testing/dbus-core/PKGBUILD testing/dbus-core/dbus testing/dbus-core/dbus.install testing/psmisc/PKGBUILD testing/systemd/PKGBUILD testing/systemd/systemd-tools.install testing/systemd/systemd.install testing/sysvinit/PKGBUILD
Diffstat (limited to 'extra/opennx/PKGBUILD')
-rw-r--r--extra/opennx/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/extra/opennx/PKGBUILD b/extra/opennx/PKGBUILD
new file mode 100644
index 000000000..9ee9d9e0b
--- /dev/null
+++ b/extra/opennx/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 162243 2012-06-24 08:25:53Z andyrtr $
+# Maintainer: AndyRTR <andyrtr@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*
+ ./configure --prefix=/usr \
+ --enable-usbip
+ 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
+}