[arch-commits] Commit in x2goclient/trunk (PKGBUILD x2goclient.install)

2016-04-27 Thread Andreas Radke
Date: Wednesday, April 27, 2016 @ 21:51:38
  Author: andyrtr
Revision: 266333

upgpkg: x2goclient 4.0.5.1-2

Hooks rebuild (part 1)

Modified:
  x2goclient/trunk/PKGBUILD
Deleted:
  x2goclient/trunk/x2goclient.install

+
 PKGBUILD   |5 ++---
 x2goclient.install |   11 ---
 2 files changed, 2 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-04-27 19:37:53 UTC (rev 266332)
+++ PKGBUILD2016-04-27 19:51:38 UTC (rev 266333)
@@ -6,7 +6,7 @@
 pkgbase=x2goclient
 pkgname=('x2goclient' 'x2goplugin' 'x2goplugin-provider')
 pkgver=4.0.5.1
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('GPL2')
 url="http://www.x2go.org";
@@ -38,10 +38,9 @@
 package_x2goclient() {
   
   pkgdesc="a graphical client (Qt4) for the X2Go system"
-  depends=('qt4' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 
'hicolor-icon-theme' 'xdg-utils')
+  depends=('qt4' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 
'hicolor-icon-theme')
   # FS#48088
   optdepends=('xorg-xauth: may be required by X2goservers running a different 
linux distribution giving MIT-COOKIE errors')
-  install=x2goclient.install
 
   cd ${pkgbase}-${pkgver}
   make PREFIX=/usr DESTDIR="$pkgdir" install_client install_man

Deleted: x2goclient.install
===
--- x2goclient.install  2016-04-27 19:37:53 UTC (rev 266332)
+++ x2goclient.install  2016-04-27 19:51:38 UTC (rev 266333)
@@ -1,11 +0,0 @@
-post_install() {
-  xdg-icon-resource forceupdate --theme hicolor
-}
-
-post_upgrade() {
-  xdg-icon-resource forceupdate --theme hicolor
-}
-
-post_remove() {
-  xdg-icon-resource forceupdate --theme hicolor
-}


[arch-commits] Commit in x2goclient/trunk (PKGBUILD x2goclient.install)

2013-01-12 Thread andyrtr
Date: Saturday, January 12, 2013 @ 04:03:51
  Author: andyrtr
Revision: 175042

upgpkg: x2goclient 4.0.0.1-1

initial pkg based on the AUR one

Added:
  x2goclient/trunk/x2goclient.install
Modified:
  x2goclient/trunk/PKGBUILD

+
 PKGBUILD   |   31 +--
 x2goclient.install |   11 +++
 2 files changed, 16 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-01-12 08:56:15 UTC (rev 175041)
+++ PKGBUILD2013-01-12 09:03:51 UTC (rev 175042)
@@ -10,41 +10,20 @@
 arch=('i686' 'x86_64')
 license=('GPL')
 url="http://www.x2go.org";
-depends=('qt' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm')
+depends=('qt' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 
'hicolor-icon-theme' 'xdg-utils')
 makedepends=('man2html')
-#options=('!makeflags')
+install=x2goclient.install
 
source=(http://code.x2go.org/releases/source/${pkgname}/${pkgname}-${pkgver}.tar.gz)
 md5sums=('e8786329cfe97652d337f71caa71f432')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-#  ln -s ${srcdir}/${pkgname}-${pkgver}/x2go-logos/x2go-logo.svg 
${srcdir}/${pkgname}-${pkgver}/svg/x2gologo.svg
-
-  #sed -i 's/linux-g++/unix/g' x2goclient.pro
-#  qmake x2goclient.pro
-#return 1
-
-#  make clean
   sed -i "s:qmake-qt4:qmake:g" Makefile
-  make PREFIX=/usr #build_client
+  sed -i "s:-o root -g root ::" Makefile
+  make PREFIX=/usr
 }
 
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make PREFIX=/usr DESTDIR="$pkgdir" install #build_client install
-
-  # install client binary
-  install -D -m755 x2goclient $pkgdir/usr/bin/x2goclient
-
-  # install icons
-  install -D -m644 icons/128x128/x2goclient.png 
$pkgdir/usr/share/x2goclient/icons/x2goclient.png
-  install -D -m644 icons/128x128/x2goclient.png 
$pkgdir/usr/share/pixmaps/x2goclient.png
-  install -D -m644 icons/16x16/x2goclient.png 
$pkgdir/usr/share/icons/hicolor/16x16/apps/x2goclient.png
-  install -D -m644 icons/32x32/x2goclient.png 
$pkgdir/usr/share/icons/hicolor/32x32/apps/x2goclient.png
-  install -D -m644 icons/64x64/x2goclient.png 
$pkgdir/usr/share/icons/hicolor/64x64/apps/x2goclient.png
-  install -D -m644 icons/128x128/x2goclient.png 
$pkgdir/usr/share/icons/hicolor/128x128/apps/x2goclient.png
-
-  # install desktop entry
-  install -D -m644 desktop/x2goclient.desktop 
$pkgdir/usr/share/applications/x2goclient.desktop
+  make PREFIX=/usr DESTDIR="$pkgdir" install
 }

Added: x2goclient.install
===
--- x2goclient.install  (rev 0)
+++ x2goclient.install  2013-01-12 09:03:51 UTC (rev 175042)
@@ -0,0 +1,11 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor
+}
+
+post_upgrade() {
+  xdg-icon-resource forceupdate --theme hicolor
+}
+
+post_remove() {
+  xdg-icon-resource forceupdate --theme hicolor
+}